CVE-2023-50252

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-50252
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-50252.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-50252
Aliases
  • GHSA-jq98-9543-m4cr
Related
Published
2023-12-12T21:15:08Z
Modified
2024-12-24T10:48:28.863029Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:12 / php-dompdf-svg-lib

Package

Name
php-dompdf-svg-lib
Purl
pkg:deb/debian/php-dompdf-svg-lib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.0-3+deb12u1

Affected versions

0.*

0.5.0-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/dompdf/php-svg-lib

Affected ranges

Type
GIT
Repo
https://github.com/dompdf/php-svg-lib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.3.4
0.4.0
0.4.1
0.5.0

v0.*

v0.1
v0.2
v0.3
v0.3.0
v0.3.1
v0.3.2
v0.3.3