CVEvulnerability
CVE-2017-0904
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-11-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 8.1 HIGH — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-242, CWE-755
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.
Affected configurations
• private address check project private address check (< 0.4.0)
Related
References
- https://edoverflow.com/2017/ruby-resolv-bug/ Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af Third Party Advisory
- https://github.com/jtdowney/private_address_check/issues/1 Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/287245 Issue Tracking, Mitigation, Patch, Third Party Advisory
- https://hackerone.com/reports/287835 Permissions Required, Third Party Advisory
- https://edoverflow.com/2017/ruby-resolv-bug/ Issue Tracking, Third Party Advisory
- https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af Third Party Advisory
- https://github.com/jtdowney/private_address_check/issues/1 Issue Tracking, Third Party Advisory
- https://hackerone.com/reports/287245 Issue Tracking, Mitigation, Patch, Third Party Advisory
- https://hackerone.com/reports/287835 Permissions Required, Third Party Advisory