GHSA-5wmg-j84w-4jj4

Suggest an improvement
Source
https://github.com/advisories/GHSA-5wmg-j84w-4jj4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-5wmg-j84w-4jj4/GHSA-5wmg-j84w-4jj4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-5wmg-j84w-4jj4
Aliases
Published
2022-02-15T01:57:18Z
Modified
2025-01-08T04:56:55.329090Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
Arbitrary File Write via Archive Extraction in mholt/archiver
Details

mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2021-05-20T16:56:29Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Go / github.com/mholt/archiver

Package

Name
github.com/mholt/archiver
View open source insights on deps.dev
Purl
pkg:golang/github.com/mholt/archiver

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0