MidnightBSD

Advisories for private_address_check_project

CVE-2017-0904 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-242,CWE-755,

Products Affected

Vendor Product Version
private_address_check_project private_address_check *
CVE-2017-0909 HIGH

The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side request forgery.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-184,NVD-CWE-noinfo,

Products Affected

Vendor Product Version
private_address_check_project private_address_check *
CVE-2018-3759 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-362,CWE-362,

Products Affected

Vendor Product Version
private_address_check_project private_address_check *