Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-46161— Code injection in pdfmake

Quick assessment

Affected
bpampuch pdfmake
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pdfmake是Bartek Pampuch个人开发者的一个纯 JavaScript 的服务器端和客户端 PDF 文档生成库。 pdfmake 0.2.5版本及之前版本存在安全漏洞,该漏洞源于对用户的输入控制不严格。攻击者利用该漏洞可以执行任意代码。

CVSS 10.0 · Critical EPSS 1.58% · P73
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-46161

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Code injection in pdfmake
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
pdfmake 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pdfmake是Bartek Pampuch个人开发者的一个纯 JavaScript 的服务器端和客户端 PDF 文档生成库。 pdfmake 0.2.5版本及之前版本存在安全漏洞,该漏洞源于对用户的输入控制不严格。攻击者利用该漏洞可以执行任意代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
bpampuch pdfmake <= 0.2.5 -

II. Public POCs for CVE-2022-46161

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-46161

登录查看更多情报信息。

Other References for CVE-2022-46161 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2022-46161

No comments yet


Leave a comment