CVE-2024-38526
pdoc provides API Documentation for Python Projects. Documentation …
pdoc provides API Documentation for Python Projects. Documentation generated with `pdoc --math` linked to JavaScript files from polyfill.io. The polyfill.io CDN has been sold and now serves malicious code. This issue has been fixed in pdoc 14.5.1.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mitmproxy/pdoc/pull/703
- github.com/mitmproxy/pdoc/security/advisories/GHSA-5vgj-ggm4-fg62
- sansec.io/research/polyfill-supply-chain-attack
- www.vicarius.io/vsociety/posts/polyfillio-in-pdoc-cve-2024-38526
- github.com/mitmproxy/pdoc/commit/726b8f2e365fe8afeb3604a7c73d19b460395d58
- nvd.nist.gov/vuln/detail/CVE-2024-38526
- github.com/advisories/GHSA-5vgj-ggm4-fg62
- nvd.nist.gov/vuln/detail/CVE-2024-38526
- cve.org/CVERecord?id=CVE-2024-38526
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.