CVEvulnerability

CVE-2018-3759

3.7 LOW Published 2018-06-13 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-06-13
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
3.7 LOW — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
Weaknesses
CWE-362

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.

Affected configurations

• private address check project private address check (< 0.5.0)

Related

Weakness · CWE (1)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness

References