8.1
HIGH
CVE-2017-0904
Apache Private Address Check Ruby Gem OS-Dependent SSRF
Description

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.

INFO

Published Date :

Nov. 13, 2017, 5:29 p.m.

Last Modified :

Nov. 21, 2024, 3:03 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2017-0904 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Private_address_check_project private_address_check
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-0904.

URL Resource
https://edoverflow.com/2017/ruby-resolv-bug/ Issue Tracking Third Party Advisory
https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af Third Party Advisory
https://github.com/jtdowney/private_address_check/issues/1 Issue Tracking Third Party Advisory
https://hackerone.com/reports/287245 Issue Tracking Mitigation Patch Third Party Advisory
https://hackerone.com/reports/287835 Permissions Required Third Party Advisory
https://edoverflow.com/2017/ruby-resolv-bug/ Issue Tracking Third Party Advisory
https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af Third Party Advisory
https://github.com/jtdowney/private_address_check/issues/1 Issue Tracking Third Party Advisory
https://hackerone.com/reports/287245 Issue Tracking Mitigation Patch Third Party Advisory
https://hackerone.com/reports/287835 Permissions Required Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-0904 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-0904 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE HackerOne CWE-242
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-254 CWE-755
  • Initial Analysis by [email protected]

    Nov. 29, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://hackerone.com/reports/287245 No Types Assigned https://hackerone.com/reports/287245 Issue Tracking, Mitigation, Patch, Third Party Advisory
    Changed Reference Type https://edoverflow.com/2017/ruby-resolv-bug/ No Types Assigned https://edoverflow.com/2017/ruby-resolv-bug/ Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af No Types Assigned https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af Third Party Advisory
    Changed Reference Type https://github.com/jtdowney/private_address_check/issues/1 No Types Assigned https://github.com/jtdowney/private_address_check/issues/1 Issue Tracking, Third Party Advisory
    Changed Reference Type https://hackerone.com/reports/287835 No Types Assigned https://hackerone.com/reports/287835 Permissions Required, Third Party Advisory
    Added CWE CWE-254
    Added CPE Configuration OR *cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* versions up to (excluding) 0.4.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-0904 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-0904 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.37 }} -0.07%

score

0.68484

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability