CVE-2021-23417
JavaScript vulnerability analysis and mitigation

Overview

All versions of package deepmergefn are vulnerable to Prototype Pollution via the deepMerge function. The vulnerability was discovered and disclosed on June 16, 2021, and was assigned CVE-2021-23417 (Debian Security, CISA Bulletin).

Technical details

The vulnerability exists in the deepMerge function of the deepmergefn package, which allows attackers to manipulate JavaScript's prototype chain. The vulnerability has a CVSS v3.1 base score of 5.6 (medium severity) with the following metrics: Attack Vector: Network, Attack Complexity: High, Privileges Required: None, User Interaction: None, Scope: Unchanged, and Low impact on Confidentiality, Integrity, and Availability (Snyk).

Impact

Successful exploitation of this vulnerability could allow an attacker to inject properties into existing JavaScript language construct prototypes. This can lead to denial of service by triggering JavaScript exceptions or potentially lead to remote code execution by tampering with the application source code (Snyk).

Mitigation and workarounds

There is no fixed version available for the deepmergefn package. Recommended mitigations include: freezing the prototype using Object.freeze(Object.prototype), requiring schema validation of JSON input, avoiding unsafe recursive merge functions, using objects without prototypes (Object.create(null)), and considering using Map instead of Object (Snyk).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management