Out-of-bounds Write Affecting python2-ujson package, versions <1.35-150100.3.8.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
1.67% (77th 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 IDSNYK-SLES154-PYTHON2UJSON-5507491
  • published10 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

CVE-2021-45958  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade SLES:15.4 python2-ujson to version 1.35-150100.3.8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-ujson package and not the python2-ujson package as distributed by SLES. See How to fix? for SLES:15.4 relevant fixed versions and status.

UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.

References

CVSS Base Scores

version 3.1