Uncaught Exception Affecting json2xml package, versions [,3.14.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.09% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-JSON2XML-5855825
  • published24 Aug 2023
  • disclosed23 Aug 2023
  • creditAsteriska001

Introduced: 23 Aug 2023

CVE-2022-25024  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade json2xml to version 3.14.0 or higher.

Overview

json2xml is a Simple Python Library to convert JSON to XML

Affected versions of this package are vulnerable to Uncaught Exception via the json2xml.Json2xml() constructor when corrupted data is passed into it, resulting in a UnicodeDecodeError leading to a crash of the running program.

CVSS Scores

version 3.1