Skip to main content
← All vulnerabilities
CVE-2024-1485GO-2024-2576GHSA-84XV-JFRM-H4GM

Registry-support: decompress can delete files outside scope via relative paths

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.0.0-20240206
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

A flaw was found in the decompression function of registry-support. This issue can be triggered if an unauthenticated remote attacker tricks a user into parsing a devfile which uses the `parent` or `plugin` keywords. This could download a malicious archive and cause the cleanup process to overwrite or delete files outside of the archive, which should not be allowed.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • registry-support

    1.16.2

  • odo

    Version range not reported

  • openshift4/ose-console

    Version range not reported

  • github.com/devfile/registry-support/registry-libraryGo

    All versions

  • github.com/devfile/registry-support/registry-libraryGo

    fixed in 0.0.0-20240206

References 5

access.redhat.com

bugzilla.redhat.com

GitHub Advisory Database

GitHub · devfile/registry-support