CVE-2017-0904
private_address_check vulnerable to bypass of Resolv.getaddresses method
EPSS 2.4%
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.
How to fix CVE-2017-0904
To remediate CVE-2017-0904, upgrade the affected package to a fixed version below.
- RubyGems/private_address_check—upgrade to 0.4.0 or later
Is CVE-2017-0904 being exploited?
Low — EPSS is 2.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.4.0