Skip to content

CVE-2020-7637 Prototype pollution in class-transformer

MediumCVSS 5.3 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
class-transformer project class-transformer < 0.3.1 0.3.1 Fixed
npm class-transformer(npm) < 0.3.1 0.3.1 Fixed

Affected products

ProductAffected versionsFixed in
npm class-transformer(npm) < 0.3.1 0.3.1
class-transformer project class-transformer < 0.3.1 0.3.1

References