CVE-2024-38428
wget: Misinterpretation of input may lead to improper behavior
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 1, 2024
Updated · January 23, 2026
Description
A flaw was found in wget. Incorrect handling of semicolons in the userinfo subcomponent of a URI allows it to be misinterpreted as part of the host subcomponent, potentially exposing user credentials.
Statement
Only calls to Wget using semicolons in the userinfo subcomponent of a URI are vulnerable to this issue. However, this is allowed by the standard and is supported by other similar tools. To exploit this issue, an attacker must convince a local user into running Wget with a specially crafted userinfo subcomponent, limiting the exposure of this vulnerability. For these reasons, this vulnerability has been rated with a moderate severity.
Additionally, this vulnerability only affects wget 1.x, wget2 is not affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Make sure to not add semicolons in the userinfo subcomponent of a URI.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CWE-115 · Misinterpretation of Input