Advisory

DEBIAN-CVE-2023-50252

Also known as: CVE-2023-50252

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2023-12-12 21:15 UTC
Modified
2026-10-26 18:02 UTC

Affected packages and fixes

php-dompdf-svg-lib

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 0.5.0-3+deb12u1 (ecosystem)

Fixed versions

0.5.0-3+deb12u1

Fix

  • Fixed version 0.5.0-3+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences