CVE-2017-0904
mediumpriority · track · 33EPSS 0.024 · 84 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- private address check project private address check< 0.4.0nvdUScpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hxhj-hp9m-qwc4private_address_check vulnerable to bypass of Resolv.getaddresses method2017-11-29ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://edoverflow.com/2017/ruby-resolv-bug/cnnvd
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46afcnnvd
- https://github.com/jtdowney/private_address_check/issues/1cnnvd
- https://hackerone.com/reports/287245cnnvd
- https://hackerone.com/reports/287835cnnvd
- https://edoverflow.com/2017/ruby-resolv-bug/enisa_euvd
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46afenisa_euvd
- https://github.com/jtdowney/private_address_check/issues/1enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan