Debian dla-4427 : php-dompdf - security update

critical Nessus Plugin ID 280147

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-4427 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4427-1 [email protected] https://www.debian.org/lts/security/ Abhijith PA December 30, 2025 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : php-dompdf Version : 0.6.2+dfsg-3.1+deb11u1 CVE ID : CVE-2021-3838 CVE-2022-2400

Two vulnerabilities were discovered in php-dompdf, a PHP library to convert HTML to PDF.

CVE-2021-3838

php-dompdf is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the file_get_contents() function. An attacker who can upload files of any type to the server can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution, especially when DOMPdf is used with frameworks with documented POP chains like Laravel or vulnerable developer code

CVE-2022-2400

php-dompdf was vulnerable to External Control of File Name bypassing unallowed access verification.

For Debian 11 bullseye, these problems have been fixed in version 0.6.2+dfsg-3.1+deb11u1.

We recommend that you upgrade your php-dompdf packages.

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

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

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-dompdf packages.

See Also

https://security-tracker.debian.org/tracker/source-package/php-dompdf

https://security-tracker.debian.org/tracker/CVE-2021-3838

https://security-tracker.debian.org/tracker/CVE-2022-2400

https://packages.debian.org/source/bullseye/php-dompdf

Plugin Details

Severity: Critical

ID: 280147

File Name: debian_DLA-4427.nasl

Version: 1.1

Type: local

Agent: unix

Published: 12/30/2025

Updated: 12/30/2025

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2021-3838

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

Vulnerability Information

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

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: 12/30/2025

Vulnerability Publication Date: 7/18/2022

Reference Information

CVE: CVE-2021-3838, CVE-2022-2400