Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. class-transformer
  4. ›
  5. CVE-2020-7637

CVE-2020-7637: Improper Input Validation

April 6, 2020 (updated July 21, 2021)

class-transformer is vulnerable to Prototype Pollution. The classToPlainFromExist function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-7637

Code Behaviors & Features

Detect and mitigate CVE-2020-7637 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.2.3

Fixed versions

  • 0.3.1

Solution

Upgrade to version 0.3.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/class-transformer/CVE-2020-7637.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:41 +0000.