CVE-2017-0904
N/A
N/A
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| jtdowney | private_address_check ruby gem | Versions before 0.4.0 | affected |
Weaknesses
- CWE-242: Use of Inherently Dangerous Function (CWE-242)
ADP Enrichment
CVE Program Container
Additional 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
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
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.