Advisory

GHSA-2xvj-j3qh-x8c3

Also known as: CVE-2018-3759

Summary

private_address_check contains race condition

Details

The 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-31 18:13 UTC
Modified
2024-11-29 05:42 UTC

Affected packages and fixes

private_address_check

RubyGems · All systems

Affected

  • introduced 0, fixed 0.5.0 (ecosystem)

Fixed versions

0.5.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences