CVE-2017-0909: Private address check Private_address_check Contains Incomplete List Of Vulnerability

HIGH
Advisory Identifier: GHSA-3v3c-r5v2-68ph
CWE-184
Published
Advisory Summary

CVE-2017-0909 is a HIGH private_address_check contains incomplete list of vulnerability (CWE-184: Incomplete List of Disallowed Inputs) affecting Private address check libraries in the RubyGems ecosystem. The issue involves private_address_check contains incomplete list of disallowed inputs. Remediation is available by upgrading affected packages to version 0.4.1.

CVE-2017-0909 at a Glance

CVE Identifier CVE-2017-0909
GHSA Identifier GHSA-3v3c-r5v2-68ph
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-184: Incomplete List of Disallowed Inputs
Affected Product Private address check
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2017-0909

To remediate this vulnerability, upgrade all affected Private address check dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

private_address_check fixed: 0.4.1
Upgrade private_address_check to 0.4.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for private_address_check

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-0909, inspect your project dependencies for Private address check:

inspect dependencies for private_address_check

Analyze the terminal output to locate any version of Private address check in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-184: Incomplete List of Disallowed Inputs, where the product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete. In Private address check, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side request forgery.

CVE-2017-0909 Affected Private address check Versions

1 component(s)
Fixed Versions:
0.4.1
Product / Package Ecosystem Affected Versions Fixed Version
private_address_check
RubyGems
< 0.4.1
0.4.1

References

Frequently Asked Questions

What is CVE-2017-0909?
CVE-2017-0909 is a security vulnerability in Private address check involving private_address_check contains Incomplete List of Disallowed Inputs under CWE-184: Incomplete List of Disallowed Inputs.
Which Private address check versions are affected?
Affected versions include releases prior to 0.4.1 across affected packages: private_address_check.
What version fixes CVE-2017-0909?
Upgrading to 0.4.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is private_address_check affected?
Yes, private_address_check is affected in releases prior to 0.4.1. Upgrade your dependency to 0.4.1 or later.
What CWE is associated with CVE-2017-0909?
CVE-2017-0909 is classified under CWE-184: Incomplete List of Disallowed Inputs (The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete.).
How can I check RubyGems dependencies for CVE-2017-0909?
Run the dependency tree command: 'inspect dependencies for private_address_check'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3v3c-r5v2-68ph",
  "modified" : "2023-01-20T22:07:25Z",
  "published" : "2017-11-30T23:14:55Z",
  "aliases" : [ "CVE-2017-0909" ],
  "summary" : "private_address_check contains Incomplete List of Disallowed Inputs",
  "details" : "The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side request forgery.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "private_address_check"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.4.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-0909"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jtdowney/private_address_check/pull/3"
  }, {
    "type" : "WEB",
    "url" : "https://hackerone.com/reports/288950"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-3v3c-r5v2-68ph"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jtdowney/private_address_check"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-184" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T20:56:20Z",
    "nvd_published_at" : null
  }
}