Vulnerability Details : CVE-2021-40978
Potential exploit
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
Vulnerability category: Directory traversal
Products affected by CVE-2021-40978
- cpe:2.3:a:mkdocs:mkdocs:1.2.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-40978
79.72%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-40978
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-40978
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-40978
-
https://github.com/nisdn/CVE-2021-40978/issues/1
Did you report this upstream? · Issue #1 · nisdn/CVE-2021-40978 · GitHubIssue Tracking;Third Party Advisory
-
https://github.com/mkdocs/mkdocs/issues/2601
CVE-2021-40978 - Path Traversal. · Issue #2601 · mkdocs/mkdocs · GitHubIssue Tracking;Third Party Advisory
-
https://github.com/nisdn/CVE-2021-40978
GitHub - nisdn/CVE-2021-40978Exploit;Third Party Advisory
-
https://github.com/mkdocs/mkdocs
GitHub - mkdocs/mkdocs: Project documentation with Markdown.Third Party Advisory
Jump to