CVE-2024-21503

CVSS 3.1 Score 5.3 of 10 (medium)

Details

Published Mar 19, 2024
CWE ID 1333

Summary

CVE-2024-21503 is a vulnerability found in versions of the package black before 24.3.0. The vulnerability, known as Regular Expression Denial of Service (ReDoS), can be exploited through the lines_with_leading_tabs_expanded function in the strings.py file. It allows an attacker to create a malicious input that leads to a denial of service. To remediate this vulnerability, it is recommended to update the black package to version 24.3.0 or later. Exploiting this vulnerability is most likely when running Black on untrusted input or when there are thousands of leading tab characters in docstrings.

Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2024-21503 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options