CVE-2021-40978
Directory traversal in mkdocs
7.5
HIGH
CVSS 3.1
EPSS 79.7%
Description
The mkdocs 1.2.2 built-in dev-server allows directory traversal using the port 8000, enabling remote exploitation to obtain :sensitive information. NOTE: the vendor has disputed this as described in https://github.com/mkdocs/mkdocs/issues/2601.] and https://github.com/nisdn/CVE-2021-40978/issues/1
How to fix CVE-2021-40978
To remediate CVE-2021-40978, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 1.2.3 or later
- —upgrade to 1.2.3 or later
Is CVE-2021-40978 being exploited?
Likely — EPSS is 79.7%, placing CVE-2021-40978 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (3)
- from 0
- >= 1.2.2, < 1.2.3
- >= 1.2.2, < 1.2.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |