Skip to content
OpenAdvisories
Medium SUSE-SU-2023:2134-1 1 CVE

Security update for python-ujson

Published May 9, 2023 · Updated May 2, 2025

Summary

This update for python-ujson fixes the following issues:

- CVE-2021-45958: Fixed a stack-based buffer overflow in Buffer_AppendIndentUnchecked (bsc#1194261).

Fixed packages 4

ReleasePackageFixed in
openSUSE · Leap 15.4 python-ujson 1.35-150100.3.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Development Tools 15 SP4 python-ujson 1.35-150100.3.8.1
SUSE · SLES 15 SP4 Linux Enterprise Module for Package Hub 15 SP4 python-ujson 1.35-150100.3.8.1
SUSE · SLE Real Time 15 SP3 Linux Enterprise Real Time 15 SP3 python-ujson 1.35-150100.3.8.1

Vulnerabilities 1

  • Medium 5.5

    UltraJSON vulnerable to Out-of-bounds Write

    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

  • report
    https://bugzilla.suse.com/1194261
  • web
    https://www.suse.com/security/cve/CVE-2021-45958