Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › News › Linux

Advisory High CVE Analysis

Ubuntu Issues Fixes for Eight TCPDF Flaws Ranging From Denial of Service to File Access and XSS

According to Ubuntu USN, the Ubuntu security team has released an update addressing multiple vulnerabilities in the TCPDF PHP library used to generate PDF files. The notice reports no confirmed exploitation.

LinuxOperating systemsVulnerabilities

Key points

  • Ubuntu USN reports updates for multiple vulnerabilities in the TCPDF PDF generation library.
  • One denial-of-service flaw with HTML color handling is limited to Ubuntu 14.04, 16.04, 18.04, 20.04 and 22.04 LTS.
  • Impacts include denial of service, arbitrary system file access, cross-site scripting and timing attacks.
  • Eight CVEs were assigned; no confirmed exploitation is reported.

According to Ubuntu USN, a security update has been issued for several Ubuntu Linux releases to fix multiple vulnerabilities in TCPDF, a PHP class used to create PDF files dynamically. The notice lists the affected Ubuntu versions, but the fixed package versions are not stated in the information provided.

The flaws have varied impacts. Some could cause denial of service, including through improper handling of certain HTML color formats, a flaw the notice limits to Ubuntu 14.04, 16.04, 18.04, 20.04 and 22.04 LTS, and through faulty SVG file parsing. A separate issue in how the src attribute of image tags was processed could let an attacker access arbitrary system files. Other reported problems include cross-site scripting through SVG font-family handling and error message escaping, unpredictable behavior from incorrect HTML syntax handling, font parsing errors that may crash or destabilize the application, and a tag hash check that does not use constant-time comparison, which could expose it to timing-based attacks.

Eight CVE identifiers were assigned: CVE-2024-22640, CVE-2024-22641, CVE-2024-32489, CVE-2024-51058, CVE-2024-56519, CVE-2024-56520, CVE-2024-56522 and CVE-2024-56527. According to the notice, the vulnerabilities involve no confirmed exploitation and no known malicious activity, but they pose potential risk. The notice does not describe detection methods or mitigations beyond applying the update. Readers should consult the original Ubuntu notice for full details.

What to do

  1. Apply the Ubuntu system update that includes the TCPDF fixes on affected systems.
  2. Check the original Ubuntu notice to confirm which releases and package versions are affected.
  3. Identify systems that run TCPDF, since the notice does not describe detection methods.

Our article, written with AI assistance from the facts of the original report and the official vulnerability data below. Read the original for full details.

Original report

Ubuntu USNubuntu.com

“USN-9522-1: TCPDF vulnerabilities”

It was discovered that TCPDF incorrectly handled parsing certain HTML colors. An attacker could possibly use this issue to cause TCPDF to consume resources, resulting in a regular expression denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2024-22640) It was discovered that TCPDF incorrectly handled pars…

Vulnerabilities mentioned

More on this topic