# CVE-2024-10524: GNU Wget is vulnerable to an SSRF attack when accessing partially-user-controlled shorthand URLs

> Attackers can exploit crafted credentials in shorthand URLs to force Wget to access arbitrary hosts, requiring specific application usage patterns.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 19 Nov 2024
- **Updated:** 21 Mar 2025
- **Also known as:** ALPINE-CVE-2024-10524, AZL-53235, BELL-CVE-2024-10524, DEBIAN-CVE-2024-10524, ECHO-dfe7-a7ed-8a10, GHSA-mqrm-h2pw-9j9r, JLSEC-2026-119, MGASA-2024-0378, OESA-2024-2497, ROOT-OS-ALPINE-318-CVE-2024-10524, ROOT-OS-ALPINE-319-CVE-2024-10524, ROOT-OS-ALPINE-320-CVE-2024-10524, ROOT-OS-DEBIAN-11-CVE-2024-10524, ROOT-OS-DEBIAN-12-CVE-2024-10524, SUSE-SU-2024:4138-1, SUSE-SU-2024:4145-1, SUSE-SU-2025:01921-1, SUSE-SU-2025:20097-1, SUSE-SU-2025:20325-1, UBUNTU-CVE-2024-10524, openSUSE-SU-2024:14492-1

## What is CVE-2024-10524?

CVE-2024-10524 is a medium-severity server-side request forgery vulnerability in gnu wget, published on 19 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Applications that use Wget to access a remote resource using shorthand URLs and pass arbitrary user credentials in the URL are vulnerable. In these cases attackers can enter crafted credentials which will cause Wget to access an arbitrary host.

Weakness: CWE-918 (Server-Side Request Forgery)

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `wget` | SUSE:Linux Enterprise Micro 5.5 | All versions | 1.20.3-150000.3.26.1 |
| `wget` | SUSE:Linux Enterprise Module for Basesystem 15 SP5 | All versions | 1.20.3-150000.3.26.1 |
| `wget` | SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 1.20.3-150600.19.9.1 |
| `wget` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 1.14-21.25.1 |
| `wget` | SUSE:Linux Micro 6.0 | All versions | 1.24.5-2.1 |
| `wget` | SUSE:Linux Micro 6.1 | All versions | 1.24.5-slfo.1.1_2.1 |
| `wget` | openSUSE:Leap 15.5 | All versions | 1.20.3-150000.3.26.1 |
| `wget` | openSUSE:Leap 15.6 | All versions | 1.20.3-150600.19.9.1 |
| `wget` | openSUSE:Tumbleweed | All versions | 1.25.0-1.1 |

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

Apply the vendor's patch.

## Is CVE-2024-10524 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2024-10524 is a medium-severity server-side request forgery vulnerability in gnu wget, published on 19 Nov 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-10524 in the wild and no public exploit code.

Affected product: gnu wget. 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-10524/ (Markdown: https://insights.sbomify.com/CVE-2024-10524/index.md)
```

## Sources

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

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