CVE-2018-3759: private_address_check Ruby gem - Race Condition
- Cve: CVE-2018-3759
- Name: private_address_check Ruby gem - Race Condition
- 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.
- Impact: Attackers can manipulate DNS resolution to redirect or intercept traffic, potentially leading to data interception or man-in-the-middle attacks.
- Remediation: Update to version 0.5.0 or later.
- Vulnerability type: race_condition
- Vulnerability impact: man_in_the_middle, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.7
- Cvss vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00667
- Epss percentile: 0.52829
- Assignee: [email protected]
- Published at: 2018-06-13T15:29:00Z
- Age in days: 3086
- Modified at: 2026-06-17T01:57:46Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-3759
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/jtdowney/private_address_check/commit/4068228187db87fea7577f7020099399772bb147 | nvd | Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| private_address_check_project:private_address_check | < 0.5.0 | no | nvd | /v1/products/private_address_check_project/private_address_check |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jtdowney/private_address_check | commit, fix, package | yes | /v1/repositories/jtdowney/private_address_check |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts