Live threats

All CVEs / Private Address Check Project

CVE-2018-3759Private Address Check Project Private Address Check

Low 3.7 No auth needed

Priority
37
CVSS 3.0
3.7
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Jun 13, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Private Address Check.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems private_address_check < 0.5.0 0.5.0 gem "private_address_check", ">= 0.5.0"

Per OSV / GitHub Advisories (GHSA-2xvj-j3qh-x8c3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
private_address_check_projectprivate_address_check< 0.5.0

Official sources

References

Links published by the sources. Open them with care.