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.
Remediation
References
https://github.com/typestack/class-transformer/commit/8f04eb9db02de708f1a20f6f2d2bb309b2fed01e
https://snyk.io/vuln/SNYK-JS-CLASSTRANSFORMER-564431
Related Vulnerabilities
CVE-2010-2057 Vulnerability in maven package org.apache.myfaces.shared:myfaces-shared-impl
CVE-2022-0235 Vulnerability in npm package node-fetch
CVE-2023-0872 Vulnerability in maven package org.opennms:opennms-webapp-rest
CVE-2014-3607 Vulnerability in maven package edu.vt.middleware:vt-ldap
CVE-2021-43797 Vulnerability in maven package io.netty:netty-codec-http