CVE-2018-3759 private_address_check contains race condition
LowCVSS 3.7
EPSS 0.68%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
private_address_check ruby gem before 0.5.0 is vulnerable to a time-of-check time-of-use (TOCTOU) race condition due to the address the socket uses not being checked. DNS entries with a TTL of 0 can trigger this case where the initial resolution is a public address but the subsequent resolution is a private address.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems private_address_check(RubyGems) | < 0.5.0 | 0.5.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 |
| rubygems private_address_check(RubyGems) | = 0.4.0 | No fix listed |
| rubygems private_address_check(RubyGems) | = 0.4.1 | No fix listed |
| private address check project private address check | < 0.5.0 | 0.5.0 |
| HackerOne private_address_check ruby gem | = 0.5.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com vendor-advisory
- github.com exploit
- github.com product