CVE-2019-8320

CVSS V2 High 8.8 CVSS V3 High 7.4
Description
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.
Overview
  • CVE ID
  • CVE-2019-8320
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Modified
  • Published Version
  • 2019-06-06T15:29:01
  • Last Modified Date
  • 2020-08-16T15:15:13
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* 1 OR 2.7.6 3.0.2
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:N/I:C/A:C
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • COMPLETE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 8.8
  • Severity
  • HIGH
  • Exploitability Score
  • 8.6
  • Impact Score
  • 9.2
CVSS Version 3
  • Version
  • 3.0
  • Vector String
  • CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • HIGH
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • HIGH
  • Base Score
  • 7.4
  • Base Severity
  • HIGH
  • Exploitability Score
  • 2.2
  • Impact Score
  • 5.2
History
Created Old Value New Value Data Type Notes
2022-05-10 17:20:29 Added to TrackCVE
2022-12-03 21:46:53 2019-06-06T15:29Z 2019-06-06T15:29:01 CVE Published Date updated
2022-12-03 21:46:53 2020-08-16T15:15:13 CVE Modified Date updated
2022-12-03 21:46:53 Modified Vulnerability Status updated