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.

Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-21503 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions