Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-1485
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:15 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 13 Feb 2024, 23:31 UTC

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.

osv:CVE-2024-1485
Complete source record
{
  "id": "f5ef67f87a36352b3182bab1990328b8ff600c38ad32aab1aeb9ee8b81f758d5",
  "url": "https://osv.dev/vulnerability/CVE-2024-1485",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Registry-support: decompress can delete files outside scope via relative paths",
    "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.",
    "evidence": "osv:CVE-2024-1485",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-1485",
      "aliases": [
        "CVE-2024-1485",
        "GHSA-84xv-jfrm-h4gm",
        "GO-2024-2576"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/devfile/registry-support",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-1485.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.405960159Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/downloads/content/package-browser/",
        "https://access.redhat.com/security/cve/CVE-2024-1485",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1485.json",
        "https://github.com/advisories/GHSA-84xv-jfrm-h4gm",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-1485",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2264106",
        "https://github.com/devfile/registry-support/commit/0e44b9ca6d03fac4fc3f77d37656d56dc5defe0d",
        "https://github.com/devfile/registry-support/pull/197",
        "https://github.com/devfile/registry-support"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.16.2"
                  },
                  {
                    "last_affected": "1.16.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1485.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-1485",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487616,
  "published_at": "2024-02-13T23:31:14.427+00:00"
}