CVE-2024-56521: TCPDF missing certificate validation
An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPTSSLVERIFYHOST and CURLOPTSSLVERIFYPEER are set unsafely.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/tecnickcom/tcpdfto a version that resolves this vulnerability.Fixed in 6.8.0 - Upgrade
Upgrade
debian/tcpdfto a version that resolves this vulnerability.Fixed in 6.8.0+dfsg-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56521?
CVE-2024-56521 does not have a publicly assigned CVSS score but is considered a serious security vulnerability in TCPDF.
How do I fix CVE-2024-56521?
To fix CVE-2024-56521, you should upgrade TCPDF to version 6.8.0 or later.
What are the potential risks of CVE-2024-56521?
The risks of CVE-2024-56521 include insecure SSL verification, which may expose applications to man-in-the-middle attacks.
Which versions of TCPDF are affected by CVE-2024-56521?
CVE-2024-56521 affects all versions of TCPDF prior to 6.8.0.
Is libcurl needed to be affected by CVE-2024-56521?
Yes, the use of libcurl with TCPDF and improper configuration of SSL verification is necessary for CVE-2024-56521 to be exploitable.