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.
problem types: Use of Inherently Dangerous Function (CWE-242)
affected:
{
product: private_address_check ruby gem
vendor: jtdowney
versions:
status: affected, version: Versions before 0.4.0
}