CVE-2020-7637

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductClass-transformer
PublishedApr 6, 2020
First seenApr 6, 2020

How to fix

Update
  • class-transformer_project class-transformer0.3.1 or later
  • class-transformer0.3.1 or later

Affected products

ProductAffected versionsFixed in
class-transformer_project class-transformerv < 0.3.10.3.1
class-transformernpmv < 0.3.10.3.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.