[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248149

 
 

909

 
 

194803

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CVE
view JSON

CVE-2019-8320Date: (C)2019-06-21   (M)2024-02-22


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.

CVSS Score and Metrics +CVSS Score and Metrics -

CVSS V3 Severity:CVSS V2 Severity:
CVSS Score : 7.4CVSS Score : 8.8
Exploit Score: 2.2Exploit Score: 8.6
Impact Score: 5.2Impact Score: 9.2
 
CVSS V3 Metrics:CVSS V2 Metrics:
Attack Vector: NETWORKAccess Vector: NETWORK
Attack Complexity: HIGHAccess Complexity: MEDIUM
Privileges Required: NONEAuthentication: NONE
User Interaction: NONEConfidentiality: NONE
Scope: UNCHANGEDIntegrity: COMPLETE
Confidentiality: NONEAvailability: COMPLETE
Integrity: HIGH 
Availability: HIGH 
  
Reference:
RHSA-2019:1429
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html
https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
https://hackerone.com/reports/317321
openSUSE-SU-2019:1771

CPE    1
cpe:/a:rubygems:rubygems
CWE    1
CWE-22
OVAL    18
oval:org.secpod.oval:def:1601097
oval:org.secpod.oval:def:116410
oval:org.secpod.oval:def:116582
oval:org.secpod.oval:def:505049
...

© SecPod Technologies