VYPR

CWE-1321

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

VariantIncomplete

Description

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.

Hierarchy (View 1000)

Parents

Children

none

Related attack patterns (CAPEC)

CAPEC-1 · CAPEC-180 · CAPEC-77

CVEs mapped to this weakness (691)

page 24 of 35
  • CVE-2024-39018MedJul 1, 2024
    risk 0.41cvss 6.3epss 0.00

    harvey-woo cat5th/key-serializer v0.2.5 was discovered to contain a prototype pollution via the function "query". This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

  • CVE-2024-38987MedJul 1, 2024
    risk 0.41cvss 6.3epss 0.01

    aofl cli-lib v3.14.0 was discovered to contain a prototype pollution via the component defaultsDeep. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

  • CVE-2024-36574MedJun 17, 2024
    risk 0.41cvss 6.3epss 0.00

    A Prototype Pollution issue in flatten-json 1.0.1 allows an attacker to execute arbitrary code via module.exports.unflattenJSON (flatten-json/index.js:42)

  • CVE-2023-45827HigNov 6, 2023
    risk 0.41cvss 7.3epss 0.01

    Dot diver is a lightweight, powerful, and dependency-free TypeScript utility library that provides types and functions to work with object paths in dot notation. In versions prior to 1.0.2 there is a Prototype Pollution vulnerability in the `setByPath` function which can leads…

  • CVE-2023-26135HigJun 30, 2023
    risk 0.41cvss 7.3epss 0.01

    All versions of the package flatnest are vulnerable to Prototype Pollution via the nest() function in the flatnest/nest.js file.

  • CVE-2022-21169HigSep 26, 2022
    risk 0.41cvss 7.3epss 0.01

    The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollution via the allowedTags attribute, allowing the attacker to bypass xss sanitization.

  • CVE-2020-28471HigJul 25, 2022
    risk 0.41cvss 7.3epss 0.01

    This affects the package properties-reader before 2.2.0.

  • CVE-2020-28461HigJul 25, 2022
    risk 0.41cvss 7.3epss 0.01

    This affects the package js-ini before 1.3.0. If an attacker submits a malicious INI file to an application that parses it with parse , they will pollute the prototype on the application. This can be exploited further depending on the context.

  • CVE-2020-28441HigJul 25, 2022
    risk 0.41cvss 7.3epss 0.01

    This affects the package conf-cfg-ini before 1.2.2. If an attacker submits a malicious INI file to an application that parses it with decode, they will pollute the prototype on the application. This can be exploited further depending on the context.

  • CVE-2022-21189HigMay 1, 2022
    risk 0.41cvss 7.3epss 0.02

    The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollution in the Dexie.setByKeyPath(obj, keyPath, value) function which does not properly check the keys being set (like __proto__ or constructor). This can allow an attacker…

  • CVE-2022-25296MedMar 17, 2022
    risk 0.41cvss 6.3epss 0.01

    The package bodymen from 0.0.0 are vulnerable to Prototype Pollution via the handler function which could be tricked into adding or modifying properties of Object.prototype using a __proto__ payload. **Note:** This vulnerability derives from an incomplete fix to…

  • CVE-2021-23558HigJan 28, 2022
    risk 0.41cvss 7.3epss 0.02

    The package bmoor before 0.10.1 are vulnerable to Prototype Pollution due to missing sanitization in set function. **Note:** This vulnerability derives from an incomplete fix in [CVE-2020-7736](https://security.snyk.io/vuln/SNYK-JS-BMOOR-598664)

  • CVE-2021-23518HigJan 21, 2022
    risk 0.41cvss 7.3epss 0.02

    The package cached-path-relative before 1.1.0 are vulnerable to Prototype Pollution via the cache variable that is set as {} instead of Object.create(null) in the cachedPathRelative function, which allows access to the parent prototype properties when the object is used to…

  • CVE-2021-23568HigJan 10, 2022
    risk 0.41cvss 7.3epss 0.01

    The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.

  • CVE-2021-23440HigSep 12, 2021
    risk 0.41cvss 7.3epss 0.02

    This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.

  • CVE-2021-23419HigAug 8, 2021
    risk 0.41cvss 7.3epss 0.01

    This affects the package open-graph before 0.2.6. The function parse could be tricked into adding or modifying properties of Object.prototype using a __proto__ or constructor payload.

  • CVE-2021-23403HigJul 2, 2021
    risk 0.41cvss 7.3epss 0.01

    All versions of package ts-nodash are vulnerable to Prototype Pollution via the Merge() function due to lack of validation input.

  • CVE-2020-28503HigMar 23, 2021
    risk 0.41cvss 7.3epss 0.02

    The package copy-props before 2.0.5 are vulnerable to Prototype Pollution via the main functionality.

  • CVE-2020-28495HigFeb 2, 2021
    risk 0.41cvss 7.3epss 0.04

    This affects the package total.js before 3.4.7. The set function can be used to set a value into the object according to the path. However the keys of the path being set are not properly sanitized, leading to a prototype pollution vulnerability. The impact depends on the…

  • CVE-2020-28472HigJan 19, 2021
    risk 0.41cvss 7.3epss 0.02

    This affects the package @aws-sdk/shared-ini-file-loader before 1.0.0-rc.9; the package aws-sdk before 2.814.0. If an attacker submits a malicious INI file to an application that parses it with loadSharedConfigFiles , they will pollute the prototype on the application. This can…