vinitkumar/json2xml · Security
json2xml Uncaught Exception vulnerability
- GHSA ID
- GHSA-8rj5-2857-877j
- CVE ID
- CVE-2022-25024
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4
- 8.7 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Description
The json2xml package for Python allows an error in typecode decoding enabling a remote attack that can lead to an exception, causing a denial of service.
CWEs
- CWE-248 · Uncaught Exception
- CWE-754 · Improper Check for Unusual or Exceptional Conditions
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/commit/a9cd75b61329801b47a8fba7473bce6c85a38b9b ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/json2xml/PYSEC-2023-149.yaml ↗
- https://github.com/vinitkumar/json2xml/pull/107/files ↗
- https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads ↗
- https://github.com/advisories/GHSA-8rj5-2857-877j ↗