CRITICAL✓ PATCH🇵🇱 Wersja polska

CVE-2024-38428

CVSS 9.1v3.1pub. 2024-06-16upd. 2025-04-21

url.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be insecure behavior in which data that was supposed to be in the userinfo subcomponent is misinterpreted to be part of the host subcomponent.

🤖 AI Analysis
How it works

The vulnerability results from incorrect interpretation (CWE-436 — Interpretation Conflict) of URI syntax in the url.c file. When a URL contains a semicolon in the userinfo section (the part before the '@' sign, containing authentication data), Wget incorrectly classifies the data fragment as belonging to the host subcomponent. This results in a discrepancy between what the user or script intends to pass as login credentials and which host the connection is actually established with.

Impact

An attacker can craft a malicious URL to cause Wget to establish a connection with an unintended host, which may lead to disclosure of sensitive data (e.g., authentication credentials transmitted to an attacker-controlled server) or unauthorized modification of downloaded resources.

Mitigation & patch

Apply patches available from the vendor according to the references. The fix was introduced in the project repository (commit ed0c7c7e0e8f7298352646b2fd6e06a11e242ace in the GNU Wget repository on Savannah). Update to a version containing the indicated patch is recommended.

Who is affected

GNU Wget in versions up to and including 1.24.5

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Gnu Wget

    APP
    Gnu
    ≤ 1.24.5
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
CWE
References

Related vulnerabilities

CVE-2019-5953CRITICAL9.8PL ✓same product

Buffer overflow w GNU Wget — RCE lub DoS przez sieć

CVE-2026-58469HIGH8.7PL ✓same product

GNU Wget: heap buffer underread w przetwarzaniu URL w plikach Metalink

CVE-2018-20483HIGH7.8same product

set_file_metadata in xattr.c in GNU Wget before 1.20.1 stores a file's origin URL in the user.xdg.origin.url m...

CVE-2017-13090HIGH8.8same product

The retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked i...

CVE-2017-13089HIGH8.8same product

The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When...