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.
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | json2xml | < 3.14.0 | 3.14.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25024
- https://github.com/vinitkumar/json2xml/issues/106
- https://github.com/vinitkumar/json2xml/pull/107
- https://github.com/vinitkumar/json2xml/pull/107/files
- https://github.com/vinitkumar/json2xml/commit/a9cd75b61329801b47a8fba7473bce6c85a38b9b
- https://github.com/pypa/advisory-database/tree/main/vulns/json2xml/PYSEC-2023-149.yaml
- https://github.com/vinitkumar/json2xml
- https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads
- https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads/
- https://github.com/advisories/GHSA-8rj5-2857-877j
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-248, CWE-754- Platform
- Python (PyPI)
- Package
json2xml- Disclosed
- 22.08.2023
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-8rj5-2857-877j - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2023-149 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: json2xml
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.