Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23484

The package zip-local before 0.3.5 are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) which can lead to an extraction of a crafted file outside the intended extraction directory.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23484
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:40 UTC · Revision 1

Source evidence

CVE-2021-23484

core-osv · Original source

Published 28 Jan 2022, 22:15 UTC

The package zip-local before 0.3.5 are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) which can lead to an extraction of a crafted file outside the intended extraction directory.

osv:CVE-2021-23484
Complete source record
{
  "id": "9b0352738e7208c7038deea72a2720b6aeb07033ca3fa51d2b76a4ec9c37e15f",
  "url": "https://osv.dev/vulnerability/CVE-2021-23484",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23484",
    "summary": "The package zip-local before 0.3.5 are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) which can lead to an extraction of a crafted file outside the intended extraction directory.",
    "evidence": "osv:CVE-2021-23484",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-23484",
      "aliases": [
        "CVE-2021-23484",
        "GHSA-wxj7-97fp-j53j",
        "SNYK-JS-ZIPLOCAL-2327477"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mostafa-samir/zip-local",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "949446a95a660c0752b1db0c654f0fd619ae6085"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "949446a95a660c0752b1db0c654f0fd619ae6085"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23484.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:32.613521300Z",
      "provider": "osv",
      "references": [
        "https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365",
        "https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085",
        "https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:zip-local_project:zip-local:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "zip-local_project:zip-local",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.3.5"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "0.3.5"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-23484",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385536,
  "published_at": "2022-01-28T22:15:09.01+00:00"
}