CVE-2022-46161
Last modified
CVE-2022-46161 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. pdfmake is an open source client/server side PDF printing in pure JavaScript. In versions up to and including 0.2.5 pdfmake contains an unsafe evaluation of user controlled input. EPSS estimates a 1.58% chance of exploitation in the next 30 days.
Description
pdfmake is an open source client/server side PDF printing in pure JavaScript. In versions up to and including 0.2.5 pdfmake contains an unsafe evaluation of user controlled input. Users of pdfmake are thus subject to arbitrary code execution in the context of the process running the pdfmake code. There are no known fixes for this issue. Users are advised to restrict access to trusted user input.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pdfmake | Pdfmake | <= 0.2.5 |
References
- https://github.com/bpampuch/pdfmake/blob/802813970ac6de68a0bd0931b74150b33da0dd18/dev-playground/server.js#L32Exploit, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-068_pdfmake/Exploit, Third Party Advisory
- https://github.com/bpampuch/pdfmake/blob/802813970ac6de68a0bd0931b74150b33da0dd18/dev-playground/server.js#L32Exploit, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-068_pdfmake/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-46161?
How severe is CVE-2022-46161?
How do I fix CVE-2022-46161?
Are you affected by CVE-2022-46161?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
