RubyGems up to 2.6.12 Specification Name Validator File input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in RubyGems up to 2.6.12. Affected is an unknown function of the component Specification Name Validator. The manipulation results in input validation (File). This vulnerability is known as CVE-2017-0901. It is possible to launch the attack remotely. Furthermore, an exploit is available. Upgrading the affected component is advised.
Details
A vulnerability, which was classified as critical, was found in RubyGems up to 2.6.12 (Programming Language Software). Affected is an unknown function of the component Specification Name Validator. The manipulation with an unknown input leads to a input validation vulnerability (File). CWE is classifying the issue as CWE-20. 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. This is going to have an impact on integrity, and availability. CVE summarizes:
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.
The bug was discovered 08/29/2017. The weakness was published 08/31/2017 (Website). The advisory is available at blog.rubygems.org. This vulnerability is traded as CVE-2017-0901 since 11/30/2016. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are unknown but a public exploit is available.
The exploit is shared for download at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 103470 (Debian DLA-1112-1 : rubygems security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176143 (Debian Security Update for ruby2.3 (DSA 3966-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Exploit-DB (42611), Tenable (103470), SecurityFocus (BID 100580†) and CERT Bund (WID-SEC-2026-1421). Similar entries are available at VDB-106032, VDB-106048, VDB-106049 and VDB-106051. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Affected
- Open Source CentOS
- Red Hat Enterprise Linux
- Open Source Ruby
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
Product
Type
Name
Version
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.0VulDB Meta Temp Score: 6.7
VulDB Base Score: 6.5
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: FileClass: Input validation / File
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 103470
Nessus Name: Debian DLA-1112-1 : rubygems security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 53376
OpenVAS Name: Debian Security Advisory DSA 3966-1 (ruby2.3 - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: github.com
Timeline
11/30/2016 🔍08/29/2017 🔍
08/31/2017 🔍
08/31/2017 🔍
09/01/2017 🔍
09/01/2017 🔍
09/26/2017 🔍
09/27/2017 🔍
05/10/2026 🔍
Sources
Product: github.comAdvisory: RHSA-2017:3485
Researcher: Yusuke Endoh.
Status: Confirmed
CVE: CVE-2017-0901 (🔍)
GCVE (CVE): GCVE-0-2017-0901
GCVE (VulDB): GCVE-100-106050
OVAL: 🔍
SecurityFocus: 100580 - RubyGems CVE-2017-0901 Local Arbitrary File Overwrite Vulnerability
SecurityTracker: 1039249
CERT Bund: WID-SEC-2026-1421 - Ruby: Mehrere Schwachstellen
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 09/01/2017 09:03Updated: 05/10/2026 11:47
Changes: 09/01/2017 09:03 (71), 11/12/2019 15:23 (14), 01/10/2021 14:44 (2), 01/10/2021 14:50 (1), 12/27/2022 14:24 (4), 12/29/2024 05:34 (16), 05/10/2026 11:47 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.