From e8a2441368f99df7929fc925e3f327290be3db3e Mon Sep 17 00:00:00 2001 From: Alessandro Mizzaro Date: Tue, 16 Jun 2026 10:56:45 +0200 Subject: [PATCH] Improve GHSA-h39j-r5qq-r9mm --- .../GHSA-h39j-r5qq-r9mm.json | 40 ++++++++++++++----- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/advisories/unreviewed/2026/06/GHSA-h39j-r5qq-r9mm/GHSA-h39j-r5qq-r9mm.json b/advisories/unreviewed/2026/06/GHSA-h39j-r5qq-r9mm/GHSA-h39j-r5qq-r9mm.json index 91ff893f33bdc..0d4b793d85d84 100644 --- a/advisories/unreviewed/2026/06/GHSA-h39j-r5qq-r9mm/GHSA-h39j-r5qq-r9mm.json +++ b/advisories/unreviewed/2026/06/GHSA-h39j-r5qq-r9mm/GHSA-h39j-r5qq-r9mm.json @@ -1,23 +1,40 @@ { "schema_version": "1.4.0", "id": "GHSA-h39j-r5qq-r9mm", - "modified": "2026-06-05T09:33:46Z", + "modified": "2026-06-05T09:33:53Z", "published": "2026-06-05T09:33:46Z", "aliases": [ "CVE-2026-10732" ], + "summary": "ZipSlip in decompress", "details": "All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive.\n\n**Note:**\n\nThis bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).", "severity": [ - { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L" - }, { "type": "CVSS_V4", - "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X" + "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "decompress" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "4.2.0" + } + ] + } + ] } ], - "affected": [], "references": [ { "type": "ADVISORY", @@ -25,11 +42,11 @@ }, { "type": "WEB", - "url": "https://github.com/kevva/decompress/pull/112" + "url": "https://github.com/Alemmi/cve/tree/main/CVE-2026-10732" }, { - "type": "WEB", - "url": "https://gist.github.com/Alemmi/409c3cc148c39522c6d6a8538b0e1f9e" + "type": "PACKAGE", + "url": "https://github.com/kevva/decompress/blob/master/index.js" }, { "type": "WEB", @@ -38,7 +55,8 @@ ], "database_specific": { "cwe_ids": [ - "CWE-29" + "CWE-29", + "CWE-59" ], "severity": "MODERATE", "github_reviewed": false,