CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh (7.5) in mkdocs mkdocs. EPSS 15% estimated probability of exploitation activity in the next 30 days. Fixed in mkdocs 1.2.3.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nmkdocs (PyPI): fixed in 1.2.3Explain CVE-2021-40978 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-40978?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-40978?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-40978 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| mkdocs:mkdocs | 1.2.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qh9q-34h6-hcv9 | PyPI | mkdocs | >=1.2.2 <1.2.3 | 1.2.3 |
| PYSEC-2021-878 | PyPI | mkdocs | >=1.2.2 <1.2.3 | 1.2.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | python-mkdocs | no fix listed | DEBIAN-CVE-2021-40978 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.