CRITICAL🇵🇱 Wersja polska

CVE-2024-56521

CVSS 9.8v3.1pub. 2024-12-27upd. 2025-04-21

An issue was discovered in TCPDF before 6.8.0. If libcurl is used, CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER are set unsafely.

🤖 AI Analysis
How it works

When TCPDF performs network requests through libcurl, the CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER options are configured insecurely — effectively disabling verification of server identity and authenticity of its SSL/TLS certificate. An attacker can in this case substitute a fake server with an unauthorized certificate, and the library will accept the connection without warning. This allows interception and modification of network traffic between the application using TCPDF and the target server.

Impact

An attacker can conduct a man-in-the-middle attack, intercepting or modifying data transmitted by TCPDF, leading to violations of confidentiality, integrity, and potentially availability of processed information.

Mitigation & patch

TCPDF should be updated to version 6.8.0 or newer, which introduces a fix that properly configures the CURLOPT_SSL_VERIFYHOST and CURLOPT_SSL_VERIFYPEER options. The fix is available in the project repository (commit aab43ab0a824e956276141a28a24c7c0be20f554).

Who is affected

TCPDF (Tcpdf Project) in all versions before 6.8.0, when the application uses libcurl to perform network connections.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Tcpdf Project Tcpdf

    APP
    Tcpdf Project
    < 6.8.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2024-56519HIGH7.5same product

An issue was discovered in TCPDF before 6.8.0. setSVGStyles does not sanitize the SVG font-family attribute.

CVE-2024-56527HIGH7.5same product

An issue was discovered in TCPDF before 6.8.0. The Error function lacks an htmlspecialchars call for the error...

CVE-2024-56522HIGH7.5same product

An issue was discovered in TCPDF before 6.8.0. unserializeTCPDFtag uses != (aka loose comparison) and does not...

CVE-2024-22641HIGH7.5same product

TCPDF version 6.6.5 and before is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an unt...

CVE-2024-22640HIGH7.5same product

TCPDF version <=6.6.5 is vulnerable to ReDoS (Regular Expression Denial of Service) if parsing an untrusted HT...