Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:45411
HistoryFeb 08, 2024 - 8:37 a.m.

Server-Side Request Forgery (SSRF)

2024-02-0808:37:09
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
11
ssrf vulnerability
libuv.so
hostname length
uv_getaddrinfo
uv__idna_toascii
internal apis

7 High

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

44.3%

libuv.so is vulnerable to Server-Side Request Forgery (SSRF). The vulnerability arises due to how the hostname_ascii variable (with a length of 256 bytes) is handled in uv_getaddrinfo and subsequently in uv__idna_toascii. When the hostname exceeds 256 characters, it gets truncated without a terminating null byte allowing an attacker access to internal APIs or websites that allow users to have username.example.com pages. Internal services that crawl or cache these user pages can be exposed to SSRF attacks if a malicious user chooses a long vulnerable username.