Ubuntu 6614 Published by

A Dompdf security update has been released for Ubuntu Linux 22.04 LTS.



[USN-6277-2] Dompdf vulnerabilities


==========================================================================
Ubuntu Security Notice USN-6277-2
August 10, 2023

php-dompdf vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 22.04 LTS

Summary:

Several security issues were fixed in Dompdf.

Software Description:
- php-dompdf: HTML to PDF converter

Details:

USN-6277-1 fixed vulnerabilities in Dompdf. This update provides the
corresponding updates for Ubuntu 22.04 LTS.

Original advisory details:

 It was discovered that Dompdf was not properly validating untrusted input when
 processing HTML content under certain circumstances. An attacker could
 possibly use this issue to expose sensitive information or execute arbitrary
 code. This issue only affected Ubuntu 16.04 LTS.
 (CVE-2014-5011, CVE-2014-5012, CVE-2014-5013)

 It was discovered that Dompdf was not properly validating processed HTML
 content that referenced PHAR files, which could result in the deserialization
 of untrusted data. An attacker could possibly use this issue to execute
 arbitrary code. (CVE-2021-3838)

 It was discovered that Dompdf was not properly validating processed HTML
 content that referenced both a remote base and a local file, which could
 result in the bypass of a chroot check. An attacker could possibly use this
 issue to expose sensitive information. (CVE-2022-2400)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 22.04 LTS:
  php-dompdf                      0.6.2+dfsg-3.1ubuntu0.1

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-6277-2
  https://ubuntu.com/security/notices/USN-6277-1
  CVE-2021-3838, CVE-2022-2400

Package Information:
https://launchpad.net/ubuntu/+source/php-dompdf/0.6.2+dfsg-3.1ubuntu0.1