Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. json2xml
  4. ›
  5. CVE-2022-25024

CVE-2022-25024: json2xml Uncaught Exception vulnerability

August 23, 2023 (updated September 27, 2024)

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.

References

  • github.com/advisories/GHSA-8rj5-2857-877j
  • github.com/pypa/advisory-database/tree/main/vulns/json2xml/PYSEC-2023-149.yaml
  • github.com/vinitkumar/json2xml
  • github.com/vinitkumar/json2xml/commit/a9cd75b61329801b47a8fba7473bce6c85a38b9b
  • github.com/vinitkumar/json2xml/issues/106
  • github.com/vinitkumar/json2xml/pull/107
  • github.com/vinitkumar/json2xml/pull/107/files
  • nvd.nist.gov/vuln/detail/CVE-2022-25024
  • packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads

Code Behaviors & Features

Detect and mitigate CVE-2022-25024 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.14.0

Fixed versions

  • 3.14.0

Solution

Upgrade to version 3.14.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-248: Uncaught Exception
  • CWE-754: Improper Check for Unusual or Exceptional Conditions

Source file

pypi/json2xml/CVE-2022-25024.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.