CVE-2017-0904
HIGH 8.1CVSS 3.0private_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.
- Published
- 13 Nov 2017
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-242CWE-755
- Also known as
- GHSA-hxhj-hp9m-qwc4
- Sources
- NVDJSONOSV GHSA-hxhj-hp9m-qwc4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | private_address_check_project | private_address_checkcpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* |
< 0.4.0 | 0.4.0 |
| OSV | RubyGems | private_address_check | < 0.4.0 | 0.4.0 |
References
- https://edoverflow.com/2017/ruby-resolv-bug/ · Issue Tracking, Third Party Advisory, WEB
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af · Third Party Advisory, WEB
- https://github.com/jtdowney/private_address_check/issues/1 · Issue Tracking, Third Party Advisory, WEB
- https://hackerone.com/reports/287245 · Issue Tracking, Mitigation, Patch, Third Party Advisory, WEB
- https://hackerone.com/reports/287835 · Permissions Required, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-0904 · ADVISORY
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 13 Nov 2017)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Nov 2017)