Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWh4aGotaHA5bS1xd2M0
private_address_check vulnerable to bypass of Resolv.getaddresses method
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWh4aGotaHA5bS1xd2M0
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 7 years ago
Updated: almost 2 years ago
Identifiers: GHSA-hxhj-hp9m-qwc4, CVE-2017-0904
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-0904
- https://github.com/jtdowney/private_address_check/issues/1
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af
- https://hackerone.com/reports/287245
- https://hackerone.com/reports/287835
- https://edoverflow.com/2017/ruby-resolv-bug/
- https://github.com/advisories/GHSA-hxhj-hp9m-qwc4
Blast Radius: 0.0
Affected Packages
rubygems:private_address_check
Dependent packages: 0Dependent repositories: 434
Downloads: 1,883,992 total
Affected Version Ranges: < 0.4.0
Fixed in: 0.4.0
All affected versions: 0.1.0, 0.2.0, 0.3.0
All unaffected versions: 0.4.0, 0.4.1, 0.5.0