Improper handling of exceptional conditions in jtdowney private_address_check ruby gem
Priority MEDIUM 40CWE-242Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.02415 84th percentileScored 2026-11-07
Fix Fixed private_address_check ruby gem (jtdowney): 0.4.0private_address_check (RubyGems): 0.4.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jtdowney | private_address_check ruby gem | before 0.4.0 | 0.4.0 | Patch available | CNA |
| — | private_address_check (RubyGems) | before 0.4.0 | 0.4.0 | Patch available | GHSA-hxhj-hp9m-qwc4 |
- private_address_check ruby gem Vendorjtdowney Affected before 0.4.0 Fixed in 0.4.0 Patch available CNA
- private_address_check (RubyGems) Vendor— Affected before 0.4.0 Fixed in 0.4.0 Patch available GHSA-hxhj-hp9m-qwc4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* | before 0.4.0 | Vulnerable | Private Address Check Project |
- cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* Versions before 0.4.0 Vulnerable ·Private Address Check Project
Remediation
- Fix · CNA private_address_check ruby gem (jtdowney) Fixed in 0.4.0
- Fix · GHSA-hxhj-hp9m-qwc4 private_address_check (RubyGems) Fixed in 0.4.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-0904
- 2026-10-03 Alias added: GHSA-hxhj-hp9m-qwc4
References
Advisory 5
More Private Address Check Project Private Address Check vulnerabilities
- TI-2017-00856 The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an… CVSS 3.0CRITICAL 9.8
- TI-2018-02755 Race condition in HackerOne private_address_check ruby gem CVSS 3.0LOW 3.7
Sources
- CVE-2017-0904 · CVE Program
- CVE-2017-0904 · NVD
- FIRST EPSS
- GHSA-hxhj-hp9m-qwc4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences