GHSA-9423-6c93-gpp8

Suggest an improvement
Source
https://github.com/advisories/GHSA-9423-6c93-gpp8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-9423-6c93-gpp8/GHSA-9423-6c93-gpp8.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9423-6c93-gpp8
Aliases
Published
2021-06-23T17:13:29Z
Modified
2025-01-08T07:43:31.325549Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
github.com/sassoftware/go-rpmutils Arbitrary File Write via Archive Extraction (Zip Slip)
Details

The CPIO extraction functionality doesn't sanitize the paths of the archived files for leading and non-leading .. which leads in file extraction outside of the current directory. Note, the fixing commit was applied to all affected versions which were re-released.

Database specific
{
    "nvd_published_at": "2020-06-24T12:15:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-12T14:56:04Z"
}
References

Affected packages

Go / github.com/sassoftware/go-rpmutils

Package

Name
github.com/sassoftware/go-rpmutils
View open source insights on deps.dev
Purl
pkg:golang/github.com/sassoftware/go-rpmutils

Affected ranges

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