Intel

AIKIDO-2024-10398

tecnickcom/tcpdf is vulnerable to Regular Expression Denial of Service (ReDoS)

CVE-2024-22641Published Oct 31, 2024
October 31, 2024

31

CVE Score

Low

Regular Expression Denial of Service (ReDoS)

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to a Regular Expression Denial of Service (ReDoS) in the setSVGStyles function. A crafted input with patterns designed to trigger excessive backtracking in the regular expression can cause the function to consume excessive CPU resources, potentially leading to a denial of service.

How do I fix this?

Upgrade the tecnickcom/tcpdf library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

2.0.000 - 6.7.6

Fixed in 6.7.7

Background info

tecnickcom/tcpdf is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 2.0.000 - 6.7.6.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea