CVE-2024-22641
Published: 28 May 2024
Summary
CVE-2024-22641 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Tcpdf Project Tcpdf. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Application Exhaustion Flood (T1499.003); ranked in the top 7.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
TCPDF versions 6.6.5 and earlier are affected by a ReDoS vulnerability that triggers during parsing of untrusted SVG files. The flaw is tracked as CVE-2024-22641 with a CVSS 3.1 base score of 7.5 and is associated with CWE-434.
An unauthenticated remote attacker can supply a malicious SVG document over the network to the affected library, causing the regular-expression engine to consume excessive CPU time and produce a denial-of-service condition that impacts availability while leaving confidentiality and integrity untouched.
A Debian LTS advisory has been published that addresses the issue for supported releases, indicating that updated packages are the intended mitigation path. The associated EPSS probability reached a peak of 0.0967 after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-20174
Vulnerability details
TCPDF version 6.6.5 and before is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted SVG file.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
ReDoS vulnerability in TCPDF SVG parsing enables crafted SVG input to cause excessive CPU backtracking, leading to application exhaustion and endpoint denial of service.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.