#VU77720 Code Injection in pdfmake - CVE-2022-46161


Vulnerability identifier: #VU77720

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2022-46161

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
pdfmake
Other software / Other software solutions

Vendor: bpampuch (Bartek Pampuch)

Description

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

The vulnerability exists due to improper input validation. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

pdfmake: 0.0.5 - 0.2.5


External links
https://securitylab.github.com/advisories/GHSL-2022-068_pdfmake/
https://github.com/bpampuch/pdfmake/blob/802813970ac6de68a0bd0931b74150b33da0dd18/dev-playground/server.js#L32


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.


Latest bulletins with this vulnerability