Skip to content
OpenAdvisories
Medium SUSE-SU-2024:2481-1 1 CVE

Security update for python-black

Published Jul 15, 2024 · Updated Feb 4, 2026

Summary

This update for python-black fixes the following issues:

Updated to version 24.3.0:

- CVE-2024-21503: Fixed a performance downgrade on docstrings that
contain large numbers of leading tab characters (bsc#1221530).

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 15.6 python-black 24.3.0-150400.9.8.1

Vulnerabilities 1

  • Medium 5.3

    Black vulnerable to Regular Expression Denial of Service (ReDoS)

    Versions of the package black before 24.3.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the lines_with_leading_tabs_expanded function in the strings.py file. An attacker could exploit this vulnerability by crafting a malicious input tha…

References

  • report
    https://bugzilla.suse.com/1221530
  • web
    https://www.suse.com/security/cve/CVE-2024-21503