#VU89753 Path traversal in sharpcompress


Published: 2024-05-22

Vulnerability identifier: #VU89753

Vulnerability risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

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
http://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-jp7f-grcv-6mjf
http://github.com/adamhathcock/sharpcompress/releases/tag/0.29.0
http://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