Skip to main content
← All vulnerabilities
CVE-2020-7637GHSA-6GP3-H3JJ-PRX4SNYK-JS-CLASSTRANSFORMER-564431

class-transformer before 0.3.1 allow attackers to perform Prototype Pollution.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a class-transformer

    All versions prior to version 0.3.1

  • class-transformernpm

    fixed in 0.3.1

References 2

GitHub · typestack/class-transformer

snyk.io