CVE-2017-0904 private_address_check vulnerable to bypass of Resolv.getaddresses method
HighCVSS 8.1
EPSS 2.4%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems private_address_check(RubyGems) | < 0.4.0 | 0.4.0 |
| rubygems private_address_check(RubyGems) | = 0.1.0 | No fix listed |
| rubygems private_address_check(RubyGems) | = 0.2.0 | No fix listed |
| rubygems private_address_check(RubyGems) | = 0.3.0 | No fix listed |
| private address check project private address check | < 0.4.0 | 0.4.0 |
| jtdowney private_address_check ruby gem | = Versions before 0.4.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking third-party-advisory
- github.com patch third-party-advisory
- hackerone.com issue-tracking mitigation patch third-party-advisory
- hackerone.com permissions-required third-party-advisory
- edoverflow.com issue-tracking third-party-advisory
- github.com