CVE-2022-25024 json
json2xml Uncaught Exception vulnerability
published 2023-08-22 3 y ago modified 2026-06-17 4 mo ago also GHSA-8rj5-2857-877j , PYSEC-2023-149 , EUVD-2023-0101
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi json2xml 3.14.0
- github.com/vinitkumar/json2xml@a9cd75b commit
- github.com/vinitkumar/json2xml/issues/106 patch
- github.com/vinitkumar/json2xml#107 pull request
- github.com/vinitkumar/json2xml#107 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/vinitkumar/json2xml/issues/106 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | json2xml | <3.14.0 |
3.14.0 |
Classification
References
-
github.com
/vinitkumar/json2xml/pull/107
web, issue-tracking, patch
-
github.com
/vinitkumar/json2xml/pull/107/files
web, patch
-
github.com
/vinitkumar/json2xml/issues/106
web, exploit, issue-tracking, patch, report
-
github.com
/vinitkumar/json2xml/commit/a9cd75b61329801b47a8fba7473bce6c85a38b9b
web
-
packaging.python.org
/en/latest/guides/analyzing-pypi-package-downloads/
product, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-25024
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/json2xml/PYSEC-2023-149.yaml
web
-
github.com
/vinitkumar/json2xml
package
-
packaging.python.org
/en/latest/guides/analyzing-pypi-package-downloads
web
-
github.com
/advisories/GHSA-8rj5-2857-877j
advisory
Sources
- CVE List CVE-2022-25024
- GitHub Advisory GHSA-8rj5-2857-877j
- NVD CVE-2022-25024
- OSV PYSEC-2023-149
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.