Embedded malicious code (backdoor) in pdoc - CVE-2024-38526
Published: October 3, 2024
Vulnerability identifier: #VU98008
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-38526
CWE-ID: CWE-506
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: mitmproxy.org
Affected software:
pdoc
pdoc
Detailed vulnerability description
The vulnerability allows a remote attacker to gain unauthorized access to the application.
The vulnerability exists due to documentation generated with `pdoc --math` is linked to JavaScript files
from polyfill.io. The polyfill.io CDN has been sold and now serves
malicious code.
How to mitigate CVE-2024-38526
Install updates from vendor's website.