CVE-2020-7637
Class-Transformer Prototype Pollution
Description
class-transformer before 0.3.1 allow attackers to perform Prototype Pollution. The classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
INFO
Published Date :
April 6, 2020, 1:15 p.m.
Last Modified :
Dec. 2, 2022, 7:58 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
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-2020-7637
.
URL | Resource |
---|---|
https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431 | Exploit Third Party Advisory |
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-2020-7637
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-7637
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Dec. 02, 2022
Action Type Old Value New Value Removed CWE NIST CWE-915 Added CWE NIST CWE-1321 -
Modified Analysis by [email protected]
Apr. 27, 2022
Action Type Old Value New Value Changed Reference Type https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e No Types Assigned https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e Patch, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:a:class-transformer_project:class-transformer:*:*:*:*:*:node.js:*:* versions up to (including) 0.2.3 OR *cpe:2.3:a:class-transformer_project:class-transformer:*:*:*:*:*:node.js:*:* versions up to (excluding) 0.3.1 -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-20 CWE-915 -
CVE Modified by [email protected]
Aug. 05, 2020
Action Type Old Value New Value Changed Description class-transformer through 0.2.3 is vulnerable to Prototype Pollution. The 'classToPlainFromExist' function could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload. class-transformer before 0.3.1 allow attackers to perform Prototype Pollution. The classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload. Removed Reference https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31, [Patch, Third Party Advisory] Added Reference https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e [No Types Assigned] -
Initial Analysis by [email protected]
Apr. 06, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31, No Types Assigned https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31, Patch, Third Party Advisory Changed Reference Type https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431 No Types Assigned https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431 Exploit, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:class-transformer_project:class-transformer:*:*:*:*:*:node.js:*:* versions up to (including) 0.2.3 -
CVE Modified by [email protected]
Apr. 06, 2020
Action Type Old Value New Value Changed Description class-transformer through 0.2.3 is vulnerable to Command Injection.the 'classToPlainFromExist' function could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload. class-transformer through 0.2.3 is vulnerable to Prototype Pollution. The 'classToPlainFromExist' function could be tricked into adding or modifying properties of 'Object.prototype' using a '__proto__' payload. Removed Reference https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31 [No Types Assigned] Added Reference https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31, [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-7637
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-2020-7637
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.09 }} 0.00%
score
0.37106
percentile