CVE-2021-40978
Mkdocs vulnerability
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
Affected products
Mkdocs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mkdocs 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/mkdocs/mkdocs · Third Party Advisory
- github.com/mkdocs/mkdocs/issues/2601 · Third Party Advisory
- github.com/nisdn/CVE-2021-40978 · Exploit
- github.com/nisdn/CVE-2021-40978/issues/1 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-40978
- github.com/mkdocs/mkdocs/pull/2604
- github.com/mkdocs/mkdocs/releases/tag/1.2.3
- github.com/mkdocs/mkdocs/commit/57540911a0d632674dd23edec765189f96f84f6b
- nvd.nist.gov/vuln/detail/CVE-2021-40978
- cve.org/CVERecord?id=CVE-2021-40978
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.