High severity8.1NVD Advisory· Published Nov 13, 2017· Updated Jun 17, 2026
CVE-2017-0904
CVE-2017-0904
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
private_address_checkRubyGems | < 0.4.0 | 0.4.0 |
Affected products
3- cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:*Range: <0.4.0
- jtdowney/private_address_check ruby gemv5Range: Versions before 0.4.0
Patches
Vulnerability mechanics
References
8- hackerone.com/reports/287245nvdIssue TrackingMitigationPatchThird Party AdvisoryWEB
- edoverflow.com/2017/ruby-resolv-bug/nvdIssue TrackingThird Party Advisory
- github.com/advisories/GHSA-hxhj-hp9m-qwc4ghsaADVISORY
- github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46afnvdThird Party AdvisoryWEB
- github.com/jtdowney/private_address_check/issues/1nvdIssue TrackingThird Party AdvisoryWEB
- hackerone.com/reports/287835nvdPermissions RequiredThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2017-0904ghsaADVISORY
- edoverflow.com/2017/ruby-resolv-bugghsaWEB
News mentions
0No linked articles in our index yet.