Multiple vulnerabilities in php-svg-lib



Published: 2024-01-30 | Updated: 2024-03-07
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-50251
CVE-2023-50252
CWE-ID CWE-674
CWE-502
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
php-svg-lib
Universal components / Libraries / Libraries used by multiple products

Vendor dompdf

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Uncontrolled Recursion

EUVDB-ID: #VU85893

Risk: Medium

CVSSv3.1: 4.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C]

CVE-ID: CVE-2023-50251

CWE-ID: CWE-674 - Uncontrolled Recursion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite recursion when parsing SVG document. A remote attacker can pass specially crafted input to the application and cause a denial of service condition on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

php-svg-lib: 0.1 - 0.5.0

External links

http://github.com/dompdf/php-svg-lib/security/advisories/GHSA-ff5x-7qg5-vwf2
http://github.com/dompdf/php-svg-lib/commit/88163cbe562d9b391b3a352e54d9c89d02d77ee0


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Deserialization of Untrusted Data

EUVDB-ID: #VU87175

Risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-50252

CWE-ID: CWE-502 - Deserialization of Untrusted Data

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insecure input validation when handling `<use>` tag that references an `<image>` tag. A remote attacker can pass specially crafted data to the application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

php-svg-lib: 0.1 - 0.5.0

External links

http://github.com/dompdf/php-svg-lib/security/advisories/GHSA-jq98-9543-m4cr
http://github.com/dompdf/php-svg-lib/commit/08ce6a96d63ad7216315fae34a61c886dd2dc030


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###