Debian dla-4199 : php-tcpdf - security update

medium Nessus Plugin ID 237717

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has a package installed that is affected by multiple vulnerabilities as referenced in the dla-4199 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-4199-1 [email protected] https://www.debian.org/lts/security/ Santiago Ruano Rincn May 31, 2025 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : tcpdf Version : 6.3.5+dfsg1-1+deb11u1 CVE ID : CVE-2024-22640 CVE-2024-22641 CVE-2024-32489 CVE-2024-51058 CVE-2024-56519 CVE-2024-56520 CVE-2024-56522 CVE-2024-56527

Multiple security issues were discovered in TCPDF, a PHP class for generating PDF files on-the-fly, which may result in denial of service, cross-site scripting or information disclosure.

CVE-2024-22640

ReDoS (Regular Expression Denial of Service) if parsing an untrusted HTML page with a crafted color.

CVE-2024-22641

ReDoS (Regular Expression Denial of Service) when parsing a specially crafted SVG file.

CVE-2024-32489

TCPDF mishandles calls that use HTML syntax.

CVE-2024-51058

Local File Inclusion (LFI) vulnerability through the <img> src tag.

CVE-2024-56519

setSVGStyles does not sanitize the SVG font-family attribute.

CVE-2024-56520

TCPDF, throught its use of tc-lib-pdf-font, mishandles fonts like FontBBox for Type 1 and misparses TrueType fonts.

CVE-2024-56522

The unserializeTCPDFtag() function doesn't make use of constant-time function to compare TCPDF tag hashes.

CVE-2024-56527

The Error() function lacks an htmlspecialchars call for the error message.

For Debian 11 bullseye, these problems have been fixed in version 6.3.5+dfsg1-1+deb11u1.

We recommend that you upgrade your tcpdf packages.

For the detailed security status of tcpdf please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/tcpdf

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the php-tcpdf packages.

See Also

https://security-tracker.debian.org/tracker/source-package/tcpdf

https://security-tracker.debian.org/tracker/CVE-2024-22640

https://security-tracker.debian.org/tracker/CVE-2024-22641

https://security-tracker.debian.org/tracker/CVE-2024-32489

https://security-tracker.debian.org/tracker/CVE-2024-51058

https://security-tracker.debian.org/tracker/CVE-2024-56519

https://security-tracker.debian.org/tracker/CVE-2024-56520

https://security-tracker.debian.org/tracker/CVE-2024-56522

https://security-tracker.debian.org/tracker/CVE-2024-56527

https://packages.debian.org/source/bullseye/tcpdf

Plugin Details

Severity: Medium

ID: 237717

File Name: debian_DLA-4199.nasl

Version: 1.1

Type: local

Agent: unix

Published: 6/3/2025

Updated: 6/3/2025

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2024-56522

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 5.5

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS Score Source: CVE-2024-51058

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:php-tcpdf

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/31/2025

Vulnerability Publication Date: 4/15/2024

Reference Information

CVE: CVE-2024-22640, CVE-2024-22641, CVE-2024-32489, CVE-2024-51058, CVE-2024-56519, CVE-2024-56520, CVE-2024-56522, CVE-2024-56527