SharpCompress up to 0.20.x Extraction ZIP Archive Zip-Slip path traversal
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.7 | $0-$5k | 0.00 |
A vulnerability was found in SharpCompress up to 0.20.x. It has been rated as problematic. This issue affects an unknown code block of the component Extraction. The manipulation with the input value ../
leads to a path traversal vulnerability (Zip-Slip). Using CWE to declare the problem leads to CWE-22. 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. Impacted is integrity, and availability. The summary by CVE is:
SharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
The bug was discovered 04/13/2018. The weakness was presented 07/25/2018 (GitHub Repository). It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2018-1002206 since 07/25/2018. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1006 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 103 days. During that time the estimated underground price was around $0-$5k.
Upgrading to version 0.21.0 eliminates this vulnerability.
See VDB-113959, VDB-122177, VDB-122178 and VDB-122179 for similar entries.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.9VulDB Meta Temp Score: 4.7
VulDB Base Score: 4.4
VulDB Temp Score: 3.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: Zip-SlipClass: Path traversal / Zip-Slip
CWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: SharpCompress 0.21.0
Patch: github.com
Timeline
04/13/2018 🔍07/25/2018 🔍
07/25/2018 🔍
07/25/2018 🔍
07/26/2018 🔍
04/25/2023 🔍
Sources
Advisory: 42b1205fb435de523e6ef8ac5b7bafbe712997f6Status: Not defined
Confirmation: 🔍
CVE: CVE-2018-1002206 (🔍)
See also: 🔍
Entry
Created: 07/26/2018 07:45 AMUpdated: 04/25/2023 04:04 PM
Changes: 07/26/2018 07:45 AM (60), 03/10/2020 09:31 AM (2), 04/25/2023 04:04 PM (5)
Complete: 🔍
Cache ID: 3:D13:40
No comments yet. Languages: en.
Please log in to comment.