CVE-2024-49048 TorchGeo Remote Code Execution Vulnerability
Attackers can execute arbitrary code via the TorchGeo library, requiring users to upgrade to a patched version.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-49048?
CVE-2024-49048 is a high-severity code injection vulnerability in Microsoft TorchGeo, published on 12 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
TorchGeo Remote Code Execution Vulnerability
Weakness: CWE-94
Which versions are affected by CVE-2024-49048?
3 open source packages ship an affected version, including torchgeo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
torchgeo PyPI | All versions | 0.6.1 |
torchgeo PyPI | From 0.4 | 0.6.1 |
torchgeo PyPI | From 0.4 | 0.6.1 |
Products include Microsoft Torchgeo.
How do I fix CVE-2024-49048?
Upgrade torchgeo to 0.6.1 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-49048 being exploited?
There is no known exploitation of CVE-2024-49048 in the wild and no public exploit code.
Sources
Also known as GHSA-ghq9-vc6f-8qjf, PYSEC-2024-204.