logo

CVE-2018-3759 private_address_check

Package

Manager: gem
Name: private_address_check
Vulnerable Version: >=0 <0.5.0

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.0018 pctl0.39857

Details

private_address_check contains race condition 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.

Metadata

Created: 2018-07-31T18:13:05Z
Modified: 2023-08-25T21:42:19Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-2xvj-j3qh-x8c3/GHSA-2xvj-j3qh-x8c3.json
CWE IDs: ["CWE-362"]
Alternative ID: GHSA-2xvj-j3qh-x8c3
Finding: F124
Auto approve: 1