RubyGems up to 2.6.12 GEM Install DNS access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in RubyGems up to 2.6.12. Affected by this vulnerability is an unknown functionality of the component GEM Install. This manipulation causes access control (DNS). This vulnerability is handled as CVE-2017-0902. The attack can be initiated remotely. There is not any exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability has been found in RubyGems up to 2.6.12 (Programming Language Software) and classified as critical. Affected by this vulnerability is an unknown functionality of the component GEM Install. The manipulation with an unknown input leads to a access control vulnerability (DNS). The CWE definition for the vulnerability is CWE-284. The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

RubyGems version 2.6.12 and earlier is vulnerable to a DNS hijacking vulnerability that allows a MITM attacker to force the RubyGems client to download and install gems from a server that the attacker controls.

The bug was discovered 08/29/2017. The weakness was released 08/31/2017 (Website). It is possible to read the advisory at blog.rubygems.org. This vulnerability is known as CVE-2017-0902 since 11/30/2016. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1068 according to MITRE ATT&CK.

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 102964 (Debian DSA-3966-1 : ruby2.3 - 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 5 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (102964), SecurityFocus (BID 100586†) and CERT Bund (WID-SEC-2026-1421). Entries connected to this vulnerability are available at VDB-106032, VDB-106048, VDB-106049 and VDB-106050. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Affected

  • Open Source CentOS
  • Red Hat Enterprise Linux
  • Open Source Ruby
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.4

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: DNS
Class: Access control / DNS
CWE: CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 102964
Nessus Name: Debian DSA-3966-1 : ruby2.3 - 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: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: github.com

Timelineinfo

11/30/2016 🔍
08/29/2017 +272 days 🔍
08/31/2017 +2 days 🔍
08/31/2017 +0 days 🔍
08/31/2017 +0 days 🔍
09/01/2017 +1 days 🔍
09/05/2017 +4 days 🔍
09/06/2017 +1 days 🔍
05/10/2026 +3168 days 🔍

Sourcesinfo

Product: github.com

Advisory: RHSA-2017:3485
Researcher: Jonathan Claudius
Status: Confirmed

CVE: CVE-2017-0902 (🔍)
GCVE (CVE): GCVE-0-2017-0902
GCVE (VulDB): GCVE-100-106051

OVAL: 🔍

SecurityFocus: 100586 - RubyGems CVE-2017-0902 Security Bypass Vulnerability
SecurityTracker: 1039249
CERT Bund: WID-SEC-2026-1421 - Ruby: Mehrere Schwachstellen

See also: 🔍

Entryinfo

Created: 09/01/2017 09:04
Updated: 05/10/2026 11:47
Changes: 09/01/2017 09:04 (70), 11/12/2019 15:27 (11), 01/10/2021 14:53 (2), 01/10/2021 14:57 (1), 12/27/2022 14:28 (4), 05/10/2026 11:47 (23)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!