CVE-2017-0901

rubygems: Arbitrary file overwrite due to incorrect validation of specification name

Published Aug 31, 2017 CVSS 3.0 · 7.5 High EPSS 29.4% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1112-1 rubygems security update
Debian DLA Debian DLA DLA-1114-1 ruby1.9.1 security update
Debian DLA Debian DLA DLA-1421-1 ruby2.1 security update
Debian DSA Debian DSA DSA-3966-1 ruby2.3 security update
Github GHSA Github GHSA GHSA-pm9x-4392-2c2p RubyGems may allow a maliciously crafted gem to overwrite files
Ubuntu USN Ubuntu USN USN-3439-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-3553-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-3685-1 Ruby vulnerabilities
History

No history.

Weaknesses
  • CWE-138

    Improper Neutralization of Special Elements

  • CWE-20

    Improper Input Validation

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Sep 16, 2024, 8:22 PM
Reserved
Nov 30, 2016, 12:00 AM
Status
Modified
Published
Aug 31, 2017, 8:29 PM
Modified
Jun 17, 2026, 12:58 AM
Severity
Moderate
Public date
Sep 1, 2017, 12:00 AM