CVE-2021-23413
Jszip Prototype Pollution Vulnerability
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.
INFO
Published Date :
July 25, 2021, 1:15 p.m.
Last Modified :
Nov. 21, 2024, 5:51 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] | ||||
CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Apply the appropriate patch according to the April 2023 Oracle Critical Patch Update advisory.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-23413
.
URL | Resource |
---|---|
https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88 | Broken Link |
https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36 | Patch Third Party Advisory |
https://github.com/Stuk/jszip/pull/766 | Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 | Exploit Patch Third Party Advisory |
https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88 | Broken Link |
https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36 | Patch Third Party Advisory |
https://github.com/Stuk/jszip/pull/766 | Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 | Exploit Patch Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-23413
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-23413
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-23413
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-23413
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88 Added Reference https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36 Added Reference https://github.com/Stuk/jszip/pull/766 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 Added Reference https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 Added Reference https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Aug. 27, 2021
Action Type Old Value New Value Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L -
Initial Analysis by [email protected]
Aug. 04, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88 No Types Assigned https://github.com/Stuk/jszip/blob/master/lib/object.js%23L88 Broken Link Changed Reference Type https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36 No Types Assigned https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36 Patch, Third Party Advisory Changed Reference Type https://github.com/Stuk/jszip/pull/766 No Types Assigned https://github.com/Stuk/jszip/pull/766 Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1251499 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 No Types Assigned https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1251498 Exploit, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 No Types Assigned https://snyk.io/vuln/SNYK-JS-JSZIP-1251497 Exploit, Patch, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:jszip_project:jszip:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.7.0 -
CVE Modified by [email protected]
Jul. 25, 2021
Action Type Old Value New Value Changed 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. 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.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Base CVSS Score: 5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.24 }} 0.01%
score
0.47461
percentile