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
CVSS 3.0 8.1/10
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| jtdowney | private_address_check ruby gem | Versions before 0.4.0 |
References
- https://edoverflow.com/2017/ruby-resolv-bug/Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46afThird 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/commit/58a0d7fe31de339c0117160567a5b33ad82b46afThird 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
- Nov 13, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified