private_address_check Ruby Gem up to 0.3.x Resolv.getaddresses 7pk security

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.

A vulnerability classified as critical was found in private_address_check Ruby Gem up to 0.3.x (Ruby Gem). This vulnerability affects the function Resolv.getaddresses. The manipulation with an unknown input leads to a 7pk security vulnerability. The CWE definition for the vulnerability is CWE-254. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The private_address_check ruby gem before 0.4.0 is vulnerable to a bypass due to use of Ruby's Resolv.getaddresses method, which is OS-dependent and should not be relied upon for security measures, such as when used to blacklist private network addresses to prevent server-side request forgery.

The bug was discovered 11/07/2017. The weakness was released 11/13/2017 (GitHub Repository). The advisory is available at This vulnerability was named CVE-2017-0904 since 11/30/2016. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1211 by the MITRE ATT&CK project.

The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around $0-$5k.

Upgrading to version 0.4.0 eliminates this vulnerability.





  • open-source

CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.5

VulDB Base Score: 5.6
VulDB Temp Score: 4.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍



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

NVD Base Score: 🔍


Class: 7pk security
CWE: CWE-254
ATT&CK: T1211

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Threat Intelligenceinfo

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


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: private_address_check Ruby Gem 0.4.0


11/30/2016 🔍
11/07/2017 +342 days 🔍
11/13/2017 +6 days 🔍
11/13/2017 +0 days 🔍
11/14/2017 +1 days 🔍
01/10/2023 +1883 days 🔍


Advisory: 58a0d7fe31de339c0117160567a5b33ad82b46af
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-0904 (🔍)


Created: 11/14/2017 02:12 PM
Updated: 01/10/2023 09:37 AM
Changes: 11/14/2017 02:12 PM (58), 12/05/2019 05:19 PM (2), 01/10/2023 09:37 AM (5)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!