Vulnerability · Published Apr 6, 2020 · Assigned by snyk
CVE-2020-7637
Medium 5.3
In plain English
A medium-severity security flaw in class-transformer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)1.2%top 32.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | class-transformer | 0.3.1 | GHSA-6gp3-h3jj-prx4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | class-transformer | All versions prior to version 0.3.1 |