CVE-2018-3759

Severity CVSS v4.0:
Pending analysis
Type:
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Publication date:
13/06/2018
Last modified:
09/10/2019

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:private_address_check_project:private_address_check:*:*:*:*:*:ruby:*:* 0.5.0 (excluding)