CVE Vulnerabilities

CVE-2024-48910

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published: Oct 31, 2024 | Modified: Nov 01, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8.2 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Ubuntu
MEDIUM

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.

Weakness

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Software

Name Vendor Start Version End Version
Red Hat Advanced Cluster Security 4.4 RedHat advanced-cluster-security/rhacs-main-rhel8:4.4.6-2 *
Red Hat Advanced Cluster Security 4.5 RedHat advanced-cluster-security/rhacs-main-rhel8:4.5.5-3 *
Red Hat OpenShift Container Platform 4.14 RedHat openshift4/ose-monitoring-plugin-rhel8:v4.14.0-202411130434.p0.gb57ebe7.assembly.stream.el8 *
Red Hat OpenShift Container Platform 4.17 RedHat openshift4/ose-networking-console-plugin-rhel9:v4.17.0-202501150934.p0.g0244dff.assembly.stream.el9 *
RHODF-4.16-RHEL-9 RedHat odf4/ocs-client-console-rhel9:v4.16.5-2 *
RHODF-4.16-RHEL-9 RedHat odf4/odf-console-rhel9:v4.16.5-2 *
RHODF-4.16-RHEL-9 RedHat odf4/odf-multicluster-console-rhel9:v4.16.5-2 *
RHODF-4.17-RHEL-9 RedHat odf4/ocs-client-console-rhel9:v4.17.2-1 *
RHODF-4.17-RHEL-9 RedHat odf4/odf-console-rhel9:v4.17.2-1 *
RHODF-4.17-RHEL-9 RedHat odf4/odf-multicluster-console-rhel9:v4.17.2-1 *
Node-dompurify Ubuntu upstream *

Extended Description

By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the product depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). This weakness is usually exploited by using a special attribute of objects called proto, constructor or prototype. Such attributes give access to the object prototype. This weakness is often found in code that assigns object attributes based on user input, or merges or clones objects recursively.

Potential Mitigations

References