{"id":"GHSA-qh9q-34h6-hcv9","summary":"Directory traversal in mkdocs","details":"The mkdocs 1.2.2 built-in dev-server allows directory traversal using the port 8000, enabling remote exploitation to obtain :sensitive information.","aliases":["CVE-2021-40978","PYSEC-2021-878"],"modified":"2024-10-01T19:21:31Z","published":"2021-10-12T18:48:24Z","database_specific":{"github_reviewed_at":"2021-10-08T21:41:01Z","nvd_published_at":"2021-10-07T14:15:00Z","cwe_ids":["CWE-12","CWE-22"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40978"},{"type":"WEB","url":"https://github.com/mkdocs/mkdocs/issues/2601"},{"type":"WEB","url":"https://github.com/nisdn/CVE-2021-40978/issues/1"},{"type":"WEB","url":"https://github.com/mkdocs/mkdocs/pull/2604"},{"type":"WEB","url":"https://github.com/mkdocs/mkdocs/commit/1b15412f4caae476c262210315fd068d0521a833"},{"type":"WEB","url":"https://github.com/mkdocs/mkdocs/commit/57540911a0d632674dd23edec765189f96f84f6b"},{"type":"PACKAGE","url":"https://github.com/mkdocs/mkdocs"},{"type":"WEB","url":"https://github.com/mkdocs/mkdocs/releases/tag/1.2.3"},{"type":"WEB","url":"https://github.com/nisdn/CVE-2021-40978"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mkdocs/PYSEC-2021-878.yaml"}],"affected":[{"package":{"name":"mkdocs","ecosystem":"PyPI","purl":"pkg:pypi/mkdocs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.2"},{"fixed":"1.2.3"}]}],"versions":["1.2.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/10/GHSA-qh9q-34h6-hcv9/GHSA-qh9q-34h6-hcv9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}