CVE-2024-22640: USN-9522-1: TCPDF vulnerabilities
Vulnerability · Reported by Ubuntu Security Notices · · CWE-1333
- Severity
- High Risk score 75/100
- CVSS
- 7.5 v3.1 · from NVD
- Exploit chance (EPSS)
- 1.32% Higher than 72% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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 parsing certain SVG files. An attacker could possibly use this issue to cause TCPDF to consume resources, resulting in a regular expression denial of service. (CVE-2024-22641) It was discovered that TCPDF incorrectly handled certain HTML syntax. An attacker could possibly use this issue to cause TCPDF to behave unexpectedly. 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-32489) It was discovered that TCPDF incorrectly handled the src attribute of image tags. An attacker could possibly use this issue to read arbitrary files from the system. (CVE-2024-51058) It was discovered that TCPDF did not properly sanitize the SVG font-family attribute. An attacker could possibly use this issue to perform cross-site scripting
How this vulnerability can be exploited
An attacker can exploit this vulnerability remotely over the network, without any login, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could crash or disrupt the service.
Is it being exploited?
The EPSS model estimates a 1.32% chance this CVE will be exploited in the next 30 days, which is elevated and higher than 72% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Tags
Linux, CVE-2024-22640
Sources & references
- Original article / advisory (Ubuntu Security Notices) ↗
- NIST NVD: CVE-2024-22640 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.