CVE-2024-56522: TCPDF has incorrect comparison
An issue was discovered in TCPDF before 6.8.0. unserializeTCPDFtag uses != (aka loose comparison) and does not use a constant-time function to compare TCPDF tag hashes.
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.6.2+dfsg1-1+deb12u1 - Upgrade
Upgrade
debian/tcpdfto a version that resolves this vulnerability.Fixed in 6.8.0+dfsg-1 - Upgrade
Upgrade
debian/tcpdfto a version that resolves this vulnerability.Fixed in 6.3.5+dfsg1-1+deb11u1Fixed in 6.6.2+dfsg1-1+deb12u1Fixed in 6.8.0+dfsg-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56522?
CVE-2024-56522 has been classified as a medium severity vulnerability.
How do I fix CVE-2024-56522?
To fix CVE-2024-56522, upgrade TCPDF to version 6.8.0 or later.
What does CVE-2024-56522 affect?
CVE-2024-56522 affects versions of TCPDF prior to 6.8.0.
What is the nature of the vulnerability in CVE-2024-56522?
CVE-2024-56522 is a vulnerability related to improper hash comparison in the unserializeTCPDFtag function.
Are there any known exploits for CVE-2024-56522?
As of now, there are no publicly known exploits for CVE-2024-56522.