Medium, CVSS 5.3npmAmendedPublished
Prototype pollution in class-transformer
CVE-2020-7637 · GHSA-6gp3-h3jj-prx4
- Affected
- npm class-transformer < 0.3.1
- Fixed in
- 0.3.1· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 0.3.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.