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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431 | Exploit Third Party Advisory |
https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e | Patch Third Party Advisory |
Configurations
Information
Published : 2020-04-06 06:15
Updated : 2022-12-02 11:58
NVD link : CVE-2020-7637
Mitre link : CVE-2020-7637
JSON object : View
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Products Affected
class-transformer_project
- class-transformer