CVE-2024-38526 – pdoc
Package
Manager: pip
Name: pdoc
Vulnerable Version: >=0 <14.5.1
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:L/SI:N/SA:L
EPSS: 0.78221 pctl0.98985
Details
pdoc embeds link to malicious CDN if math mode is enabled ### Impact Documentation generated with `pdoc --math` linked to JavaScript files from polyfill.io. The polyfill.io CDN has been sold and now serves malicious code. Users who produce documentation with math mode should update immediately. All other users are unaffected. ### Patches This issue has been fixed in pdoc 14.5.1. ### References https://github.com/mitmproxy/pdoc/pull/703 https://sansec.io/research/polyfill-supply-chain-attack ### Timeline - **[2024-06-25]** https://sansec.io/research/polyfill-supply-chain-attack is published. - **[2024-06-25 20:54 UTC]** Issue reported to the pdoc project by @adhintz. - **[2024-06-25 21:33 UTC]** Patched version released. - **[2024-06-25 21:37 UTC]** Security advisory published. - **[2024-06-25 23:49 UTC]** CVE-2024-38526 assigned by GitHub.
Metadata
Created: 2024-06-25T22:23:30Z
Modified: 2024-07-26T21:36:47Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/06/GHSA-5vgj-ggm4-fg62/GHSA-5vgj-ggm4-fg62.json
CWE IDs: []
Alternative ID: GHSA-5vgj-ggm4-fg62
Finding: F086
Auto approve: 1