GHSA-84xv-jfrm-h4gm

Suggest an improvement
Source
https://github.com/advisories/GHSA-84xv-jfrm-h4gm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-84xv-jfrm-h4gm/GHSA-84xv-jfrm-h4gm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-84xv-jfrm-h4gm
Aliases
Published
2024-02-14T00:35:42Z
Modified
2024-07-08T20:22:41Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H CVSS Calculator
  • 4.6 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:N/SA:H CVSS Calculator
Summary
registry-support: decompress can delete files outside scope via relative paths
Details

A vulnerability was found in the decompression function of registry-support. This issue can be triggered by an unauthenticated remote attacker when tricking a user into opening a specially modified .tar archive, leading to the cleanup process following relative paths to overwrite or delete files outside the intended scope.

References

Affected packages

Go / github.com/devfile/registry-support/registry-library

Package

Name
github.com/devfile/registry-support/registry-library
View open source insights on deps.dev
Purl
pkg:golang/github.com/devfile/registry-support/registry-library

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20240206