PT-2018-16179 · Ruby · Private Address Check

Sajjad

·

Publicado

2018-06-13

·

Atualizado

2019-10-09

·

CVE-2018-3759

CVSS v2.0

4.3

Média

VetorAV:N/AC:M/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions private address check ruby gem versions prior to 0.5.0
Description The issue is related to a time-of-check time-of-use (TOCTOU) race condition. This occurs because the address the socket uses is not checked. Specifically, DNS entries with a TTL of 0 can trigger a scenario where the initial resolution is a public address, but the subsequent resolution is a private address.
Recommendations For versions prior to 0.5.0, update to version 0.5.0 or later to resolve the issue. As a temporary workaround, consider restricting the use of DNS entries with a TTL of 0 to minimize the risk of exploitation.

Exploit

Correção

Race Condition

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2018-3759
GHSA-2XVJ-J3QH-X8C3

Produtos afetados

Private Address Check