CVE-2018-3759
private_address_check contains race condition
EPSS 0.69%
Description
The 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.
How to fix CVE-2018-3759
To remediate CVE-2018-3759, upgrade the affected package to a fixed version below.
- RubyGems/private_address_check—upgrade to 0.5.0 or later
Is CVE-2018-3759 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.5.0