Packagist (PHP)Worst: Critical3 advisories

phenx/php-svg-lib: known vulnerabilities

phenx/php-svg-lib has 3 reviewed security advisories in the GitHub Advisory Database — 1 critical, 2 moderate. The most recent was published 2024-02-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the phenx/php-svg-lib versions running across your servers, containers and images, and ranks what to patch first.

How to fix phenx/php-svg-lib

Upgrade phenx/php-svg-lib to a release at or above the fixed version shown for each advisory below. For Packagist (PHP):

composer require phenx/php-svg-lib:^0.5.2 (composer audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Dompdf's usage of vulnerable version of phenx/php-svg-lib leads to restriction bypass and potential RCE Critical 10.0 CWE-502 CWE-73 — Affected: before 0.5.2. Fixed in 0.5.2. Published 2024-02-22. GHSA-97m3-52wr-xvv2
php-svg-lib lacks path validation on font through SVG inline styles Moderate 6.8 CWE-502 CWE-610 CWE-73 — Affected: before 0.5.2. Fixed in 0.5.2. Published 2024-02-21. GHSA-f3qr-qr4x-j273 · CVE-2024-25117
Denial of service caused by infinite recursion when parsing SVG document Moderate 5.3 CWE-674 — Affected: before 0.5.1. Fixed in 0.5.1. Published 2023-12-12. GHSA-ff5x-7qg5-vwf2 · CVE-2023-50251

Find phenx/php-svg-lib across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.