You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
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
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
CWE Remap by NIST7/21/2021 7:39:23 AM
Action
Type
Old Value
New Value
Changed
CWE
CWE-20
CWE-915
CVE Modified by Snyk8/05/2020 10:15:13 AM
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.
https://github.com/typestack/class-transformer/blob/a650d9f490573443f62508bc063b857bcd5e2525/src/ClassTransformer.ts#L29-L31, [Patch, Third Party Advisory]
Initial Analysis by NIST4/06/2020 1:42:32 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Added
CVSS V2
NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N)
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
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
CVE Modified by Snyk4/06/2020 10:15:12 AM
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.