{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2024-21503","title":"Title"},{"category":"description","text":"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 that causes a denial of service.\r\rExploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2024-21503","url":"https://www.suse.com/security/cve/CVE-2024-21503"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1221530 for CVE-2024-21503","url":"https://bugzilla.suse.com/1221530"},{"category":"external","summary":"Advisory link for SUSE-SU-2024:2481-1","url":"https://lists.suse.com/pipermail/sle-updates/2024-July/035995.html"}],"title":"SUSE CVE CVE-2024-21503","tracking":{"current_release_date":"2026-03-12T09:01:54Z","generator":{"date":"2024-03-19T03:37:14Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2024-21503","initial_release_date":"2024-03-19T03:37:14Z","revision_history":[{"date":"2024-03-19T03:37:14Z","number":"2","summary":"Current version"},{"date":"2024-07-13T02:47:17Z","number":"3","summary":"Current version"},{"date":"2024-07-16T02:43:19Z","number":"4","summary":"Current version"},{"date":"2025-01-01T01:31:25Z","number":"5","summary":"Current version"},{"date":"2025-02-14T05:29:55Z","number":"6","summary":"Current version"},{"date":"2025-02-16T05:22:53Z","number":"7","summary":"Current version"},{"date":"2025-03-15T05:34:04Z","number":"8","summary":"Current version"},{"date":"2025-04-24T14:55:33Z","number":"9","summary":"Current version"},{"date":"2025-11-03T02:11:51Z","number":"10","summary":"Current version"},{"date":"2026-01-23T02:26:47Z","number":"11","summary":"unknown changes"},{"date":"2026-03-12T09:01:54Z","number":"12","summary":"unknown changes"}],"status":"interim","version":"12"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise Server 16.0","product":{"name":"SUSE Linux Enterprise Server 16.0","product_id":"SUSE Linux Enterprise Server 16.0","product_identification_helper":{"cpe":"cpe:/o:suse:sles:16.0"}}},{"category":"product_name","name":"openSUSE Leap 15.6","product":{"name":"openSUSE Leap 15.6","product_id":"openSUSE Leap 15.6","product_identification_helper":{"cpe":"cpe:/o:opensuse:leap:15.6"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"python310-black-24.3.0-1.1","product":{"name":"python310-black-24.3.0-1.1","product_id":"python310-black-24.3.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python310-black@24.3.0-1.1"}}},{"category":"product_version","name":"python311-black-24.3.0-1.1","product":{"name":"python311-black-24.3.0-1.1","product_id":"python311-black-24.3.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python311-black@24.3.0-1.1?upstream=python-black-24.3.0-1.1.src.rpm"}}},{"category":"product_version","name":"python311-black-24.3.0-150400.9.8.1","product":{"name":"python311-black-24.3.0-150400.9.8.1","product_id":"python311-black-24.3.0-150400.9.8.1","product_identification_helper":{"purl":"pkg:rpm/suse/python311-black@24.3.0-150400.9.8.1?upstream=python-black-24.3.0-150400.9.8.1.src.rpm"}}},{"category":"product_version","name":"python312-black-24.3.0-1.1","product":{"name":"python312-black-24.3.0-1.1","product_id":"python312-black-24.3.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python312-black@24.3.0-1.1"}}},{"category":"product_version","name":"python313-black-25.1.0-160000.2.2","product":{"name":"python313-black-25.1.0-160000.2.2","product_id":"python313-black-25.1.0-160000.2.2","product_identification_helper":{"purl":"pkg:rpm/suse/python313-black@25.1.0-160000.2.2?upstream=python-black-25.1.0-160000.2.2.src.rpm"}}},{"category":"product_version","name":"python39-black-24.3.0-1.1","product":{"name":"python39-black-24.3.0-1.1","product_id":"python39-black-24.3.0-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/python39-black@24.3.0-1.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"python313-black-25.1.0-160000.2.2 as component of SUSE Linux Enterprise Server 16.0","product_id":"SUSE Linux Enterprise Server 16.0:python313-black-25.1.0-160000.2.2"},"product_reference":"python313-black-25.1.0-160000.2.2","relates_to_product_reference":"SUSE Linux Enterprise Server 16.0"},{"category":"default_component_of","full_product_name":{"name":"python311-black-24.3.0-150400.9.8.1 as component of openSUSE Leap 15.6","product_id":"openSUSE Leap 15.6:python311-black-24.3.0-150400.9.8.1"},"product_reference":"python311-black-24.3.0-150400.9.8.1","relates_to_product_reference":"openSUSE Leap 15.6"},{"category":"default_component_of","full_product_name":{"name":"python310-black-24.3.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python310-black-24.3.0-1.1"},"product_reference":"python310-black-24.3.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python311-black-24.3.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python311-black-24.3.0-1.1"},"product_reference":"python311-black-24.3.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python312-black-24.3.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python312-black-24.3.0-1.1"},"product_reference":"python312-black-24.3.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"python39-black-24.3.0-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:python39-black-24.3.0-1.1"},"product_reference":"python39-black-24.3.0-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2024-21503","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2024-21503"}],"notes":[{"category":"general","text":"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 that causes a denial of service.\r\rExploiting this vulnerability is possible when running Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings.","title":"CVE description"}],"product_status":{"recommended":["SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP7:python311-black-24.3.0-150400.9.8.1","SUSE Linux Enterprise Server 16.0:python313-black-25.1.0-160000.2.2","openSUSE Leap 15.6:python311-black-24.3.0-150400.9.8.1","openSUSE Tumbleweed:python310-black-24.3.0-1.1","openSUSE Tumbleweed:python311-black-24.3.0-1.1","openSUSE Tumbleweed:python312-black-24.3.0-1.1","openSUSE Tumbleweed:python39-black-24.3.0-1.1"]},"references":[{"category":"external","summary":"CVE-2024-21503","url":"https://www.suse.com/security/cve/CVE-2024-21503"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1221530 for CVE-2024-21503","url":"https://bugzilla.suse.com/1221530"},{"category":"external","summary":"Advisory link for SUSE-SU-2024:2481-1","url":"https://lists.suse.com/pipermail/sle-updates/2024-July/035995.html"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP7:python311-black-24.3.0-150400.9.8.1","SUSE Linux Enterprise Server 16.0:python313-black-25.1.0-160000.2.2","openSUSE Leap 15.6:python311-black-24.3.0-150400.9.8.1","openSUSE Tumbleweed:python310-black-24.3.0-1.1","openSUSE Tumbleweed:python311-black-24.3.0-1.1","openSUSE Tumbleweed:python312-black-24.3.0-1.1","openSUSE Tumbleweed:python39-black-24.3.0-1.1"]}],"scores":[{"cvss_v3":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"products":["SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP7:python311-black-24.3.0-150400.9.8.1","SUSE Linux Enterprise Server 16.0:python313-black-25.1.0-160000.2.2","openSUSE Leap 15.6:python311-black-24.3.0-150400.9.8.1","openSUSE Tumbleweed:python310-black-24.3.0-1.1","openSUSE Tumbleweed:python311-black-24.3.0-1.1","openSUSE Tumbleweed:python312-black-24.3.0-1.1","openSUSE Tumbleweed:python39-black-24.3.0-1.1"]}],"threats":[{"category":"impact","date":"2024-03-18T06:45:08Z","details":"important"}],"title":"CVE-2024-21503"}]}