CVE-2017-0904

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.
References
Link Resource
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
Configurations

Configuration 1 (hide)

cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:*

History

21 Nov 2024, 03:03

Type Values Removed Values Added
References () https://edoverflow.com/2017/ruby-resolv-bug/ - Issue Tracking, Third Party Advisory () https://edoverflow.com/2017/ruby-resolv-bug/ - Issue Tracking, Third Party Advisory
References () https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af - Third Party Advisory () https://github.com/jtdowney/private_address_check/commit/58a0d7fe31de339c0117160567a5b33ad82b46af - Third Party Advisory
References () https://github.com/jtdowney/private_address_check/issues/1 - Issue Tracking, Third Party Advisory () https://github.com/jtdowney/private_address_check/issues/1 - Issue Tracking, Third Party Advisory
References () https://hackerone.com/reports/287245 - Issue Tracking, Mitigation, Patch, Third Party Advisory () https://hackerone.com/reports/287245 - Issue Tracking, Mitigation, Patch, Third Party Advisory
References () https://hackerone.com/reports/287835 - Permissions Required, Third Party Advisory () https://hackerone.com/reports/287835 - Permissions Required, Third Party Advisory

Information

Published : 2017-11-13 17:29

Updated : 2024-11-21 03:03


NVD link : CVE-2017-0904

Mitre link : CVE-2017-0904

CVE.ORG link : CVE-2017-0904


JSON object : View

Products Affected

private_address_check_project

  • private_address_check
CWE
CWE-242

Use of Inherently Dangerous Function

CWE-755

Improper Handling of Exceptional Conditions