Intel

AIKIDO-2024-10399

tecnickcom/tcpdf is vulnerable to Path Traversal

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

60

CVE Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to path traversal when handling image tags in the openHTMLTagHandler function. An attacker can craft malicious image tags with directory traversal sequences, allowing them to access files outside the intended directory, potentially leading to unauthorized access to sensitive files on the server.

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.5

Fixed in 6.7.6

Background info

tecnickcom/tcpdf is vulnerable to Path Traversal in versions 2.0.000 - 6.7.5.

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