php-dompdf-svg-lib: CVE-2023-50251 CVE-2023-50252

Related Vulnerabilities: CVE-2023-50251   CVE-2023-50252  

Debian Bug report logs - #1058641
php-dompdf-svg-lib: CVE-2023-50251 CVE-2023-50252

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Wed, 13 Dec 2023 21:48:01 UTC

Severity: important

Tags: security, upstream

Found in version php-dompdf-svg-lib/0.5.0-3

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#1058641; Package src:php-dompdf-svg-lib. (Wed, 13 Dec 2023 21:48:03 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>. (Wed, 13 Dec 2023 21:48:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php-dompdf-svg-lib: CVE-2023-50251 CVE-2023-50252
Date: Wed, 13 Dec 2023 22:44:05 +0100
Source: php-dompdf-svg-lib
Version: 0.5.0-3
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerabilities were published for php-dompdf-svg-lib.

CVE-2023-50251[0]:
| php-svg-lib is an SVG file parsing / rendering library. Prior to
| version 0.5.1, when parsing the attributes passed to a `use` tag
| inside an svg document, an attacker can cause the system to go to an
| infinite recursion. Depending on the system configuration and attack
| pattern this could exhaust the memory available to the executing
| process and/or to the server itself. An attacker sending multiple
| request to a system to render the above payload can potentially
| cause resource exhaustion to the point that the system is unable to
| handle incoming request. Version 0.5.1 contains a patch for this
| issue.


CVE-2023-50252[1]:
| php-svg-lib is an SVG file parsing / rendering library. Prior to
| version 0.5.1, when handling `<use>` tag that references an
| `<image>` tag, it merges the attributes from the `<use>` tag to the
| `<image>` tag. The problem pops up especially when the `href`
| attribute from the `<use>` tag has not been sanitized. This can lead
| to an unsafe file read that can cause PHAR Deserialization
| vulnerability in PHP prior to version 8. Version 0.5.1 contains a
| patch for this issue.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-50251
    https://www.cve.org/CVERecord?id=CVE-2023-50251
    https://github.com/dompdf/php-svg-lib/security/advisories/GHSA-ff5x-7qg5-vwf2
[1] https://security-tracker.debian.org/tracker/CVE-2023-50252
    https://www.cve.org/CVERecord?id=CVE-2023-50252
    https://github.com/dompdf/php-svg-lib/security/advisories/GHSA-jq98-9543-m4cr

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Dec 14 08:18:10 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.