GitHub Advisoryadvisory · npm

GHSA-jg8v-48h5-wgxg jszip Vulnerable to Prototype Pollution

MEDIUM Published 2021-08-10 Modified 2023-09-12 Official page ↗
Aliases
CVE-2021-23413
Ecosystem
npm
Packages
jszip
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1321
Reviewed
2021-08-02

Affected packages

• npm jszip: >= 3.0.0, < 3.7.0 → fixed in 3.7.0 • npm jszip: < 2.7.0 → fixed in 2.7.0

Description

This affects the package jszip before 3.7.0. Crafting a new zip file with filenames set to Object prototype values (e.g `__proto__`, `toString`, etc) results in a returned object with a modified prototype instance.

Related

Alias · CVE (1)

  • CVE-2021-23413 This affects the package jszip before 3.7.0. vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References