Path traversal in HedgeDoc - CVE-2021-29474
Published: May 4, 2021
Vulnerability identifier: #VU52830
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-29474
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can send a specially crafted HTTP request and read arbitrary .md files on the system.
Affected software
HedgeDoc
How to mitigate CVE-2021-29474
Install update from vendor's website.
HedgeDoc - update to 1.8.0