Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2018-8780

Summary
Assigner-mitre
Assigner Org ID-8254265b-2729-46b6-b9e3-3dfca2d5bfca
Published At-03 Apr, 2018 | 22:00
Updated At-05 Aug, 2024 | 07:02
Rejected At-
Credits

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:mitre
Assigner Org ID:8254265b-2729-46b6-b9e3-3dfca2d5bfca
Published At:03 Apr, 2018 | 22:00
Updated At:05 Aug, 2024 | 07:02
Rejected At:
▼CVE Numbering Authority (CNA)

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.

Affected Products
Vendor
n/a
Product
n/a
Versions
Affected
  • n/a
Problem Types
TypeCWE IDDescription
textN/An/a
Type: text
CWE ID: N/A
Description: n/a
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
x_refsource_CONFIRM
https://access.redhat.com/errata/RHSA-2018:3729
vendor-advisory
x_refsource_REDHAT
https://usn.ubuntu.com/3626-1/
vendor-advisory
x_refsource_UBUNTU
http://www.securitytracker.com/id/1042004
vdb-entry
x_refsource_SECTRACK
https://access.redhat.com/errata/RHSA-2018:3730
vendor-advisory
x_refsource_REDHAT
https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
mailing-list
x_refsource_MLIST
https://access.redhat.com/errata/RHSA-2018:3731
vendor-advisory
x_refsource_REDHAT
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
x_refsource_CONFIRM
https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/
x_refsource_CONFIRM
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
mailing-list
x_refsource_MLIST
http://www.securityfocus.com/bid/103739
vdb-entry
x_refsource_BID
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
x_refsource_CONFIRM
https://www.debian.org/security/2018/dsa-4259
vendor-advisory
x_refsource_DEBIAN
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
x_refsource_CONFIRM
https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
mailing-list
x_refsource_MLIST
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
vendor-advisory
x_refsource_SUSE
https://access.redhat.com/errata/RHSA-2019:2028
vendor-advisory
x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2020:0542
vendor-advisory
x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2020:0591
vendor-advisory
x_refsource_REDHAT
https://access.redhat.com/errata/RHSA-2020:0663
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Resource:
x_refsource_CONFIRM
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3729
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://usn.ubuntu.com/3626-1/
Resource:
vendor-advisory
x_refsource_UBUNTU
Hyperlink: http://www.securitytracker.com/id/1042004
Resource:
vdb-entry
x_refsource_SECTRACK
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3730
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
Resource:
mailing-list
x_refsource_MLIST
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3731
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Resource:
x_refsource_CONFIRM
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/
Resource:
x_refsource_CONFIRM
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
Resource:
mailing-list
x_refsource_MLIST
Hyperlink: http://www.securityfocus.com/bid/103739
Resource:
vdb-entry
x_refsource_BID
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
Resource:
x_refsource_CONFIRM
Hyperlink: https://www.debian.org/security/2018/dsa-4259
Resource:
vendor-advisory
x_refsource_DEBIAN
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
Resource:
x_refsource_CONFIRM
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
Resource:
mailing-list
x_refsource_MLIST
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Resource:
vendor-advisory
x_refsource_SUSE
Hyperlink: https://access.redhat.com/errata/RHSA-2019:2028
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0542
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0591
Resource:
vendor-advisory
x_refsource_REDHAT
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0663
Resource:
vendor-advisory
x_refsource_REDHAT
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
x_refsource_CONFIRM
x_transferred
https://access.redhat.com/errata/RHSA-2018:3729
vendor-advisory
x_refsource_REDHAT
x_transferred
https://usn.ubuntu.com/3626-1/
vendor-advisory
x_refsource_UBUNTU
x_transferred
http://www.securitytracker.com/id/1042004
vdb-entry
x_refsource_SECTRACK
x_transferred
https://access.redhat.com/errata/RHSA-2018:3730
vendor-advisory
x_refsource_REDHAT
x_transferred
https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
mailing-list
x_refsource_MLIST
x_transferred
https://access.redhat.com/errata/RHSA-2018:3731
vendor-advisory
x_refsource_REDHAT
x_transferred
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
x_refsource_CONFIRM
x_transferred
https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/
x_refsource_CONFIRM
x_transferred
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
mailing-list
x_refsource_MLIST
x_transferred
http://www.securityfocus.com/bid/103739
vdb-entry
x_refsource_BID
x_transferred
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
x_refsource_CONFIRM
x_transferred
https://www.debian.org/security/2018/dsa-4259
vendor-advisory
x_refsource_DEBIAN
x_transferred
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
x_refsource_CONFIRM
x_transferred
https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
mailing-list
x_refsource_MLIST
x_transferred
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
vendor-advisory
x_refsource_SUSE
x_transferred
https://access.redhat.com/errata/RHSA-2019:2028
vendor-advisory
x_refsource_REDHAT
x_transferred
https://access.redhat.com/errata/RHSA-2020:0542
vendor-advisory
x_refsource_REDHAT
x_transferred
https://access.redhat.com/errata/RHSA-2020:0591
vendor-advisory
x_refsource_REDHAT
x_transferred
https://access.redhat.com/errata/RHSA-2020:0663
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3729
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://usn.ubuntu.com/3626-1/
Resource:
vendor-advisory
x_refsource_UBUNTU
x_transferred
Hyperlink: http://www.securitytracker.com/id/1042004
Resource:
vdb-entry
x_refsource_SECTRACK
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3730
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
Resource:
mailing-list
x_refsource_MLIST
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3731
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
Resource:
mailing-list
x_refsource_MLIST
x_transferred
Hyperlink: http://www.securityfocus.com/bid/103739
Resource:
vdb-entry
x_refsource_BID
x_transferred
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://www.debian.org/security/2018/dsa-4259
Resource:
vendor-advisory
x_refsource_DEBIAN
x_transferred
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
Resource:
mailing-list
x_refsource_MLIST
x_transferred
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Resource:
vendor-advisory
x_refsource_SUSE
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2019:2028
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0542
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0591
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0663
Resource:
vendor-advisory
x_refsource_REDHAT
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:cve@mitre.org
Published At:03 Apr, 2018 | 22:29
Updated At:21 Jul, 2019 | 12:15

In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.09.1CRITICAL
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary2.07.5HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
Type: Primary
Version: 3.0
Base score: 9.1
Base severity: CRITICAL
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Type: Primary
Version: 2.0
Base score: 7.5
Base severity: HIGH
Vector:
AV:N/AC:L/Au:N/C:P/I:P/A:P
CPE Matches

Ruby
ruby-lang
>>ruby>>Versions before 2.2.10(exclusive)
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Ruby
ruby-lang
>>ruby>>Versions from 2.3.0(inclusive) to 2.3.7(exclusive)
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Ruby
ruby-lang
>>ruby>>Versions from 2.4.0(inclusive) to 2.4.4(exclusive)
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Ruby
ruby-lang
>>ruby>>Versions from 2.5.0(inclusive) to 2.5.1(exclusive)
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Ruby
ruby-lang
>>ruby>>2.6.0
cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*
Canonical Ltd.
canonical
>>ubuntu_linux>>14.04
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
Canonical Ltd.
canonical
>>ubuntu_linux>>16.04
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
Canonical Ltd.
canonical
>>ubuntu_linux>>17.10
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>7.0
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>8.0
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>9.0
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-22Primarynvd@nist.gov
CWE ID: CWE-22
Type: Primary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.htmlcve@mitre.org
N/A
http://www.securityfocus.com/bid/103739cve@mitre.org
Third Party Advisory
VDB Entry
http://www.securitytracker.com/id/1042004cve@mitre.org
Third Party Advisory
VDB Entry
https://access.redhat.com/errata/RHSA-2018:3729cve@mitre.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3730cve@mitre.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3731cve@mitre.org
Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:2028cve@mitre.org
N/A
https://access.redhat.com/errata/RHSA-2020:0542cve@mitre.org
N/A
https://access.redhat.com/errata/RHSA-2020:0591cve@mitre.org
N/A
https://access.redhat.com/errata/RHSA-2020:0663cve@mitre.org
N/A
https://lists.debian.org/debian-lts-announce/2018/04/msg00023.htmlcve@mitre.org
Mailing List
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/04/msg00024.htmlcve@mitre.org
Mailing List
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlcve@mitre.org
Mailing List
Third Party Advisory
https://usn.ubuntu.com/3626-1/cve@mitre.org
Third Party Advisory
https://www.debian.org/security/2018/dsa-4259cve@mitre.org
Third Party Advisory
https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/cve@mitre.org
Vendor Advisory
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/cve@mitre.org
Patch
Vendor Advisory
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/cve@mitre.org
Patch
Vendor Advisory
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/cve@mitre.org
Patch
Vendor Advisory
https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/cve@mitre.org
Patch
Vendor Advisory
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Source: cve@mitre.org
Resource: N/A
Hyperlink: http://www.securityfocus.com/bid/103739
Source: cve@mitre.org
Resource:
Third Party Advisory
VDB Entry
Hyperlink: http://www.securitytracker.com/id/1042004
Source: cve@mitre.org
Resource:
Third Party Advisory
VDB Entry
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3729
Source: cve@mitre.org
Resource:
Third Party Advisory
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3730
Source: cve@mitre.org
Resource:
Third Party Advisory
Hyperlink: https://access.redhat.com/errata/RHSA-2018:3731
Source: cve@mitre.org
Resource:
Third Party Advisory
Hyperlink: https://access.redhat.com/errata/RHSA-2019:2028
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0542
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0591
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://access.redhat.com/errata/RHSA-2020:0663
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
Source: cve@mitre.org
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
Source: cve@mitre.org
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
Source: cve@mitre.org
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://usn.ubuntu.com/3626-1/
Source: cve@mitre.org
Resource:
Third Party Advisory
Hyperlink: https://www.debian.org/security/2018/dsa-4259
Source: cve@mitre.org
Resource:
Third Party Advisory
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-dir-cve-2018-8780/
Source: cve@mitre.org
Resource:
Vendor Advisory
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
Source: cve@mitre.org
Resource:
Patch
Vendor Advisory
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
Source: cve@mitre.org
Resource:
Patch
Vendor Advisory
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
Source: cve@mitre.org
Resource:
Patch
Vendor Advisory
Hyperlink: https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
Source: cve@mitre.org
Resource:
Patch
Vendor Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found