Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

DSA-5642-1

Active Unknown

php-dompdf-svg-lib - security update

Published
20 Mar 2024, 00:00:00 UTC

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVEPublisher evidence
CVE-2023-50251https://security-tracker.debian.org/tracker/CVE-2023-50251
CVE-2023-50252https://security-tracker.debian.org/tracker/CVE-2023-50252
CVE-2024-25117https://security-tracker.debian.org/tracker/CVE-2024-25117

Description

CVE-2023-50251: 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

Read full publisher description 2113 characters

CVE-2023-50251: 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: 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. CVE-2024-25117: php-svg-lib is a scalable vector graphics (SVG) file parsing/rendering library. Prior to version 0.5.2, php-svg-lib fails to validate that font-family doesn't contain a PHAR url, which might leads to RCE on PHP < 8.0, and doesn't validate if external references are allowed. This might leads to bypass of restrictions or RCE on projects that are using it, if they do not strictly revalidate the fontName that is passed by php-svg-lib. The `Style::fromAttributes(`), or the `Style::parseCssStyle()` should check the content of the `font-family` and prevents it to use a PHAR url, to avoid passing an invalid and dangerous `fontName` value to other libraries. The same check as done in the `Style::fromStyleSheets` might be reused. Libraries using this library as a dependency might be vulnerable to some bypass of restrictions, or even remote code execution, if they do not double check the value of the `fontName` that is passed by php-svg-lib. Version 0.5.2 contains a fix for this issue.

No solution guidance was provided.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

1

Shared package data

Applies to this occurrence
Package role
Source package
Ecosystem
Debian:bookworm
Fixed version
0.5.0-3+deb12u1

Affected ranges and events

  • ECOSYSTEMRepository Not supplied in this record
    • Fixed at 0.5.0-3+deb12u1
  1. 1php-dompdf-svg-libSource package

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

4
  • DSA-5642-1 advisory · Tags: Unknown https://www.debian.org/security/2024/dsa-5642
  • CVE-2023-50251 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2023-50251
  • CVE-2023-50252 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2023-50252
  • CVE-2024-25117 report · Tags: Unknown https://security-tracker.debian.org/tracker/CVE-2024-25117

Provenance

Schema version
Unknown
Parser version
debian-dsa-dla-tracker/1
Attribution
Debian Security Team
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
structured_advisory_listhttps://salsa.debian.org/security-tracker-team/security-tracker/-/raw/master/data/DSA/listUnknown76a8292f3ca8af0aca97d7e7104f5d7f2ffe9c0d646c3e2a8fa76789e7e3b9c1debian-dsa-dla-tracker/1Unknown

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected