# CVE-2017-0904

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 2% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2017-11-13 · Modified: 2024-09-17
- Aliases: GHSA-hxhj-hp9m-qwc4
- Record: https://cvemate.com/vulnerability/CVE-2017-0904 · JSON: https://cvemate.com/vulnerability/CVE-2017-0904/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.0, NVD) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.415%, percentile 84.684%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- RubyGems private\_address\_check (RubyGems): \< 0.4.0
- jtdowney private\_address\_check ruby gem: Versions before 0.4.0
- private\_address\_check\_project private\_address\_check: \< 0.4.0

## References

- <https://hackerone.com/reports/287245>
- <https://edoverflow.com/2017/ruby-resolv-bug/>
- <https://github.com/jtdowney/private_address_check/issues/1>
- <https://hackerone.com/reports/287835>
- <https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af>
- <https://nvd.nist.gov/vuln/detail/CVE-2017-0904>
- <https://edoverflow.com/2017/ruby-resolv-bug>

---

Data as of 2026-12-05T05:33:48.955Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
