Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2019-8320
Modified
More InfoOfficial Page
Source-cve@mitre.org
View Known Exploited Vulnerability (KEV) details
Published At-06 Jun, 2019 | 15:29
Updated At-16 Aug, 2020 | 15:15

A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files (which now include path-checking code for symlinks), it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems (/tmp, /usr, etc.), this could likely lead to data loss or an unusable system.

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.07.4HIGH
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Primary2.08.8HIGH
AV:N/AC:M/Au:N/C:N/I:C/A:C
Type: Primary
Version: 3.0
Base score: 7.4
Base severity: HIGH
Vector:
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
Type: Primary
Version: 2.0
Base score: 8.8
Base severity: HIGH
Vector:
AV:N/AC:M/Au:N/C:N/I:C/A:C
CPE Matches

rubygems
rubygems
>>rubygems>>Versions from 2.7.6(inclusive) to 3.0.2(inclusive)
cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:*
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
https://access.redhat.com/errata/RHSA-2019:1429cve@mitre.org
N/A
https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.htmlcve@mitre.org
Vendor Advisory
https://hackerone.com/reports/317321cve@mitre.org
Exploit
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.htmlcve@mitre.org
N/A
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://access.redhat.com/errata/RHSA-2019:1429
Source: cve@mitre.org
Resource: N/A
Hyperlink: https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
Source: cve@mitre.org
Resource:
Vendor Advisory
Hyperlink: https://hackerone.com/reports/317321
Source: cve@mitre.org
Resource:
Exploit
Third Party Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
Source: cve@mitre.org
Resource: N/A
Change History
0Changes found

Details not found