minimist before 1.2.2 could be tricked into adding or modifying properties of Object.prototype using a constructor or proto payload.
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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Minimist | Substack | * | 1.2.2 (excluding) |
Openshift Service Mesh 1.0 | RedHat | jaeger-0:v1.13.1.redhat7-1.el7 | * |
Openshift Service Mesh 1.0 | RedHat | kiali-0:v1.0.11.redhat1-1.el7 | * |
OpenShift Service Mesh 1.0 | RedHat | servicemesh-grafana-0:6.2.2-36.el8 | * |
Red Hat Enterprise Linux 8 | RedHat | nodejs:10-8020020200617141353.4cda2c84 | * |
Red Hat Enterprise Linux 8 | RedHat | nodejs:12-8020020200630155331.4cda2c84 | * |
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | RedHat | nodejs:10-8000020200617115915.f8e95b4e | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | nodejs:12-8010020200630154708.c27ad7f8 | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | nodejs:10-8010020200617134056.c27ad7f8 | * |
Red Hat OpenShift Container Platform 3.11 | RedHat | atomic-openshift-web-console-0:3.11.248-1.git.1.cc96c2d.el7 | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | openshift4/ose-console:v4.6.0-202010100121.p0 | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | openshift4/ose-prometheus:v4.6.0-202009290409.p0 | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | openshift4/ose-logging-kibana6:v4.6.0-202107070256.p0.git.5ba5ae2 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-nodejs12-nodejs-0:12.18.2-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-nodejs10-nodejs-0:10.21.0-3.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-nodejs12-nodejs-0:12.18.2-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-nodejs10-nodejs-0:10.21.0-3.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-nodejs12-nodejs-0:12.18.2-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-nodejs10-nodejs-0:10.21.0-3.el7 | * |
Red Hat Virtualization Engine 4.4 | RedHat | ovirt-engine-ui-extensions-0:1.2.2-1.el8ev | * |
Node-minimist | Ubuntu | bionic | * |
Node-minimist | Ubuntu | eoan | * |
Node-minimist | Ubuntu | trusty | * |
Node-minimist | Ubuntu | xenial | * |
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.