Back to CVE catalog
CVE-2018-3759

TOCTOU race in private_address_check

HackerOne private address check ruby gem

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS summary v3.0

3.7Low
Published:
Updated:
EPSS:
0.667%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:HackerOneprivate address check ruby gemAffected versions:
0.5.0
Vendor:private_address_check_projectprivate address checkAffected versions:
< 0.5.0Show full version range for private address check
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–2 of 2 · Page 1 of 1

CVSS scores and metrics3
[email protected] · NVD (Primary)Primary3.7 / 10LowCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVE-2018-3759 · OSV (source-vector)3.7 / 10LowCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories5

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences