#VU89753 Path traversal in sharpcompress - CVE-2021-39208


Vulnerability identifier: #VU89753

Vulnerability risk: Low

CVSSv4.0: 1.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-39208

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
sharpcompress
Other software / Other software solutions

Vendor: adamhathcock

Description

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

sharpcompress: 0.9 - 0.28.3


External links
https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-jp7f-grcv-6mjf
https://github.com/adamhathcock/sharpcompress/releases/tag/0.29.0
https://github.com/adamhathcock/sharpcompress/pull/614


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability