CVE-2017-0904
Last modified
CVE-2017-0904 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.42% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Private Address Check Project | Private Address Check | < 0.4.0 |
References
- https://edoverflow.com/2017/ruby-resolv-bug/Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/issues/1Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/287245Issue Tracking, Mitigation, Patch, Third Party Advisory
- https://hackerone.com/reports/287835Permissions Required, Third Party Advisory
- https://edoverflow.com/2017/ruby-resolv-bug/Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/issues/1Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/287245Issue Tracking, Mitigation, Patch, Third Party Advisory
- https://hackerone.com/reports/287835Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-0904?
How severe is CVE-2017-0904?
How do I fix CVE-2017-0904?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-0898Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malic…
- CVE-2017-0899RubyGems version 2.6.12 and earlier is vulnerable to malicio…
- CVE-2017-0900RubyGems version 2.6.12 and earlier is vulnerable to malicio…
- CVE-2017-0901RubyGems version 2.6.12 and earlier fails to validate specif…
- CVE-2017-0902RubyGems version 2.6.12 and earlier is vulnerable to a DNS h…
- CVE-2017-0903RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to…
- CVE-2017-0905The Recurly Client Ruby Library before 2.0.13, 2.1.11, 2.2.5…
- CVE-2017-0906The Recurly Client Python Library before 2.0.5, 2.1.16, 2.2.…
- CVE-2017-0907The Recurly Client .NET Library before 1.0.1, 1.1.10, 1.2.8,…
- CVE-2017-0908Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-0909The private_address_check ruby gem before 0.4.1 is vulnerabl…
- CVE-2017-0910In Zulip Server before 1.7.1, on a server with multiple real…
Are you affected by CVE-2017-0904?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
