Description
undefsafe before 2.0.3 is vulnerable to Prototype Pollution. The 'a' function could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload.
Remediation
References
https://github.com/remy/undefsafe/commit/f272681b3a50e2c4cbb6a8533795e1453382c822
https://snyk.io/vuln/SNYK-JS-UNDEFSAFE-548940
Related Vulnerabilities
CVE-2018-1000620 Vulnerability in npm package cryptiles
CVE-2022-25851 Vulnerability in maven package org.webjars.npm:jpeg-js
CVE-2020-28052 Vulnerability in maven package bouncycastle:bcprov-jdk14
CVE-2021-21119 Vulnerability in npm package electron
CVE-2023-31581 Vulnerability in maven package com.usthe.sureness:sureness-core