GHSA-cqj4-m2pc-v9m5

Suggest an improvement
Source
https://github.com/advisories/GHSA-cqj4-m2pc-v9m5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cqj4-m2pc-v9m5/GHSA-cqj4-m2pc-v9m5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cqj4-m2pc-v9m5
Aliases
Published
2022-05-13T01:35:03Z
Modified
2024-08-01T07:56:56.160158Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib
Details

SharpZipLib before 1.0 RC1 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'.

Database specific
{
    "nvd_published_at": "2018-07-25T17:29:00Z",
    "github_reviewed_at": "2022-06-30T14:41:55Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

NuGet / SharpZipLib

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0-rc1

Affected versions

0.*

0.86.0

1.*

1.0.0-alpha1
1.0.0-alpha2

Database specific

{
    "last_known_affected_version_range": "<= 1.0.0-alpha2"
}