CVE-2017-0901

Advisory lineage Upstream: 0 Downstream: 16
Modified
Published: 31 Aug 2017, 20:00
Last modified:16 Sept 2024, 20:22

Vulnerability Summary

Overall Risk (default)
medium
44/100
CVSS Score
7.5 HIGH
v3.0 (nvd)
EPSS Score
20.21% HIGH
20% probability +1.66%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

31 Aug 2017, 20:00
Published
Vulnerability first disclosed
16 Sept 2024, 20:22
Last Modified
Vulnerability information updated

Description

RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem.

CVSS Metrics

  • v3.0HIGHScore: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • v2.0MEDIUMScore: 6.4AV:N/AC:L/Au:N/C:N/I:P/A:P

EPSS Trends

Current EPSS score: 20.21% Percentile: 96%

Techniques & Countermeasures

  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

  • CWE-20Improper Input Validation

    The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 17.10

  • debiandebian_linux

    8.0 | 9.0

  • hackeronerubygems

    Versions before 2.6.13

  • redhatenterprise_linux_desktop

    7.0

  • redhatenterprise_linux_server

    7.0

  • redhatenterprise_linux_server_aus

    7.4 | 7.6

  • redhatenterprise_linux_server_eus

    7.4 | 7.5 | 7.6

  • redhatenterprise_linux_server_tus

    7.4 | 7.6

  • redhatenterprise_linux_workstation

    7.0

  • rubygemsrubygems

    ≤ 2.6.12

References (15)