CVE-2022-25024 json2xml Uncaught Exception vulnerability
A remote attacker can cause a denial of service in the json2xml Python library by triggering an exception during typecode decoding.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25024?
CVE-2022-25024 is a high-severity denial of service vulnerability in n/a, published on 22 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The json2xml package through 3.12.0 for Python allows an error in typecode decoding enabling a remote attack that can lead to an exception, causing a denial of service.
Weakness: CWE-754
Which versions are affected by CVE-2022-25024?
3 open source packages ship an affected version, including json2xml. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
json2xml PyPI | All versions | 3.14.0 |
json2xml PyPI | All versions | 3.14.0 |
json2xml PyPI | All versions | 3.14.0 |
Products include Vinitkumar Json2xml.
How do I fix CVE-2022-25024?
Upgrade json2xml to 3.14.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-25024 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-25024 exists.
Sources
Also known as GHSA-8rj5-2857-877j, PYSEC-2023-149.