# CVE-2024-38428: Other in n/a

> GNU Wget mishandles semicolons in URI userinfo, potentially causing host misinterpretation and insecure behavior during downloads.

- **Severity:** Critical 9.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 16 Jun 2024
- **Updated:** 21 Apr 2025
- **Also known as:** ALSA-2024:5299, ALSA-2024:6192, AZL-42691, CLSA-2024-1723223824, CLSA-2024-1723223949, CLSA-2024-1723794812, CLSA-2024-1723795173, CLSA-2024-1723796201, CLSA-2024-1723826300, CLSA-2024-1725898066, CLSA-2024-1733428726, CLSA-2025-1747851041, CLSA-2025-1756409198, CLSA-2025-1756409922, CLSA-2025-1762783856, DEBIAN-CVE-2024-38428, DLA-4133-1, GHSA-2j66-vp53-phjj, JLSEC-2026-120, MGASA-2024-0240, OESA-2024-1756, RHSA-2024:4998, RHSA-2024:5299, RHSA-2024:6192, RHSA-2024:6208, RHSA-2024:6438, RLSA-2024:5299, RLSA-2024:6192, ROOT-OS-DEBIAN-12-CVE-2024-38428, SUSE-SU-2024:2154-1, SUSE-SU-2024:2174-1, SUSE-SU-2024:2174-2, SUSE-SU-2024:2201-1, SUSE-SU-2025:20010-1, UBUNTU-CVE-2024-38428, USN-6852-1, USN-6852-2, openSUSE-SU-2024:14056-1

## What is CVE-2024-38428?

CVE-2024-38428 is a critical vulnerability in n/a, published on 16 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-436 (Interpretation Conflict)

## Which versions are affected by CVE-2024-38428?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `wget` | AlmaLinux:8 | All versions | 1.19.5-12.el8_10 |
| `wget` | AlmaLinux:9 | All versions | 1.21.1-8.el9_4 |
| `wget` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.19.5-12.el8_10 |
| `wget-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.19.5-12.el8_10 |
| `wget-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:1.19.5-12.el8_10 |
| `wget` | Red Hat:enterprise_linux:9::appstream | All versions | 0:1.21.1-8.el9_4 |
| `wget-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:1.21.1-8.el9_4 |
| `wget-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:1.21.1-8.el9_4 |
| `wget` | Red Hat:rhel_aus:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget-debuginfo` | Red Hat:rhel_aus:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget-debugsource` | Red Hat:rhel_aus:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget` | Red Hat:rhel_e4s:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget-debuginfo` | Red Hat:rhel_e4s:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget-debugsource` | Red Hat:rhel_e4s:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget` | Red Hat:rhel_eus:8.8::appstream | All versions | 0:1.19.5-11.el8_8.1 |
| `wget-debuginfo` | Red Hat:rhel_eus:8.8::appstream | All versions | 0:1.19.5-11.el8_8.1 |
| `wget-debugsource` | Red Hat:rhel_eus:8.8::appstream | All versions | 0:1.19.5-11.el8_8.1 |
| `wget` | Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.21.1-7.el9_2.1 |
| `wget-debuginfo` | Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.21.1-7.el9_2.1 |
| `wget-debugsource` | Red Hat:rhel_eus:9.2::appstream | All versions | 0:1.21.1-7.el9_2.1 |
| `wget` | Red Hat:rhel_tus:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget-debuginfo` | Red Hat:rhel_tus:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget-debugsource` | Red Hat:rhel_tus:8.6::appstream | All versions | 0:1.19.5-10.el8_6.2 |
| `wget` | Rocky Linux:8 | All versions | 0:1.19.5-12.el8_10 |
| `wget` | Rocky Linux:9 | All versions | 0:1.21.1-8.el9_4 |
| `wget` | SUSE:Linux Enterprise Micro 5.5 | All versions | 1.20.3-150000.3.20.1 |
| `wget` | SUSE:Linux Enterprise Micro 5.5 | All versions | 1.20.3-150000.3.20.1 |
| `wget` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 1.20.3-150000.3.20.1 |
| `wget` | SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 1.20.3-150600.19.3.1 |
| `wget` | SUSE:Linux Enterprise Server 12 SP5 | All versions | 1.14-21.19.1 |
| `wget` | SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 1.14-21.19.1 |
| `wget` | SUSE:Linux Micro 6.0 | All versions | 1.24.5-1.1 |
| `wget` | openSUSE:Leap 15.5 | All versions | 1.20.3-150000.3.20.1 |
| `wget` | openSUSE:Leap 15.6 | All versions | 1.20.3-150600.19.3.1 |
| `wget` | openSUSE:Tumbleweed | All versions | 1.24.5-2.1 |

Products: Gnu Wget.

## How do I fix CVE-2024-38428?

Upgrade to a fixed version.

## Is CVE-2024-38428 being exploited?

There is no known exploitation of CVE-2024-38428 in the wild and no public exploit code.

## Other vulnerabilities in n/a

- [CVE-2019-5953](https://insights.sbomify.com/CVE-2019-5953/): Memory corruption in GNU Wget (critical 9.8)
- [CVE-2014-4877](https://insights.sbomify.com/CVE-2014-4877/): Path traversal in n/a (critical 9.3)
- [CVE-2026-58469](https://insights.sbomify.com/CVE-2026-58469/): GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing (high 8.7)
- [CVE-2016-7098](https://insights.sbomify.com/CVE-2016-7098/): Race condition in n/a (high 8.1)
- [CVE-2018-20483](https://insights.sbomify.com/CVE-2018-20483/): Information disclosure in n/a (high 7.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-38428 and fix it if it is affected.

What it is: CVE-2024-38428 is a critical vulnerability in n/a, published on 16 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-38428 in the wild and no public exploit code.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-38428/ (Markdown: https://insights.sbomify.com/CVE-2024-38428/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-38428
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-38428
- OSV: https://osv.dev/vulnerability/CVE-2024-38428

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-38428/
Summaries are generated and may contain mistakes; the official description above is the record.
