CVE-2021-23440

Public on

Last Modified: UTC

Description

A type confusion vulnerability in nodejs-set-value can lead to a bypass of CVE-2019-10747. If the user-provided keys used in the path parameter are arrays, the function mixin-deep can be tricked into adding or modifying properties of Object.prototype using any of the constructor, prototype, or _proto_ payloads. This vulnerability can impact data confidentiality, integrity, and availability.

A type confusion vulnerability in nodejs-set-value can lead to a bypass of CVE-2019-10747. If the user-provided keys used in the path parameter are arrays, the function mixin-deep can be tricked into adding or modifying properties of Object.prototype using any of the constructor, prototype, or proto payloads. This vulnerability can impact data confidentiality, integrity, and availability.

Additional information

  • Bugzilla 2004944: nodejs-set-value: type confusion allows bypass of CVE-2019-10747
  • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
  • FAQ: Frequently asked questions about CVE-2021-23440

Common Vulnerability Scoring System (CVSS) Score Details

Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown
Red HatNVD

CVSS v3 Base Score

7.3

9.8

Attack Vector

Network

Network

Attack Complexity

Low

Low

Privileges Required

None

None

User Interaction

None

None

Scope

Unchanged

Unchanged

Confidentiality Impact

Low

High

Integrity Impact

Low

High

Availability Impact

Low

High

CVSS v3 Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Red Hat CVSS v3 Score Explanation

With regards to CVE-2019-10747, Prototype pollution requires the user to have two things: 1. The ability to merge new methods into an existing object and 2. Knowledge of how those methods are being used within the application. It is possible to cause a DoS and an RCE but the attack is difficult to perform. Since the attacker can not control what information is read or modified, and neither can he determine if this will impact the availability of the environment, it is rated low.

With regards to CVE-2019-10747, Prototype pollution requires the user to have two things: 1. The ability to merge new methods into an existing object and 2. Knowledge of how those methods are being used within the application. It is possible to cause a DoS and an RCE but the attack is difficult to perform. Since the attacker can not control what information is read or modified, and neither can he determine if this will impact the availability of the environment, it is rated low.

Frequently Asked Questions

Why is Red Hat's CVSS v3 score or Impact different from other vendors?

My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?

What can I do if my product is listed as "Will not fix"?

What can I do if my product is listed as "Fix deferred"?

What is a mitigation?

I have a Red Hat product but it is not in the above list, is it affected?

Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?

My product is listed as "Out of Support Scope". What does this mean?

Want to get errata notifications? Sign up here.