cve.bz

CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution), page 12

Filter

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.

What the weakness is: CWE-1321 at MITRE. All weaknesses

Related attack patterns (CAPEC): 3
  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to CWE-1321, as MITRE names them. Credits.

Ask an AI about CWE-1321

Show the promptExplain CWE-1321: Improperly Controlled Modification of Object Prototype Attributes and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1321.html and https://cve.bz/cve/cwe/1321?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

  1. 8.8CVE-2021-20087EPSS 2.1%

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in jquery-deparam 0.5.1 allows a malicious user to inject properties into Object.prototype.

  2. 8.8CVE-2021-20084EPSS 1.4%

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in jquery-sparkle 1.5.2-beta allows a malicious user to inject properties into Object.prototype.

  3. 9.8CVE-2021-25916EPSS 3.5%

    Prototype pollution vulnerability in 'patchmerge' versions 1.0.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.

  4. 8.8CVE-2021-21368EPSS 1.6%

    msgpack5 is a msgpack v5 implementation for node.js and the browser. In msgpack5 before versions 3.6.1, 4.5.1, and 5.2.1 there is a "Prototype Poisoning" vulnerability. When msgpack5 decodes a map containing a key "__proto__", it assigns t…

  5. 9.8CVE-2021-25915EPSS 3.5%

    Prototype pollution vulnerability in 'changeset' versions 0.0.1 through 0.2.5 allows an attacker to cause a denial of service and may lead to remote code execution.

  6. 9.8CVE-2021-25914EPSS 3.7%

    Prototype pollution vulnerability in 'object-collider' versions 1.0.0 through 1.0.3 allows attacker to cause a denial of service and may lead to remote code execution.

  7. 6.5CVE-2021-21297EPSS 1.4%

    Node-Red is a low-code programming for event-driven applications built using nodejs. Node-RED 1.2.7 and earlier contains a Prototype Pollution vulnerability in the admin API. A badly formed request can modify the prototype of the default J…

  8. 9.1CVE-2021-27582EPSS 2.2%

    org/mitre/oauth2/web/OAuthConfirmationController.java in the OpenID Connect server implementation for MITREid Connect through 1.3.3 contains a Mass Assignment (aka Autobinding) vulnerability. This arises due to unsafe usage of the @ModelAt…

  9. 9.8CVE-2021-25913EPSS 4.4%

    Prototype pollution vulnerability in 'set-or-get' version 1.0.0 through 1.2.10 allows an attacker to cause a denial of service and may lead to remote code execution.

  10. 9.8CVE-2021-21304EPSS 1.9%

    Dynamoose is an open-source modeling tool for Amazon's DynamoDB. In Dynamoose from version 2.0.0 and before version 2.7.0 there was a prototype pollution vulnerability in the internal utility method "lib/utils/object/set.ts". This method i…

  11. 9.8CVE-2021-25912EPSS 3.5%

    Prototype pollution vulnerability in 'dotty' versions 0.0.1 through 0.1.0 allows attackers to cause a denial of service and may lead to remote code execution.

  12. 7.5CVE-2021-23329EPSS 1.5%

    The package nested-object-assign before 1.0.4 are vulnerable to Prototype Pollution via the default function, as demonstrated by running the PoC below.

  13. 9.8CVE-2020-7771EPSS 2.0%

    The package asciitable.js before 1.0.3 are vulnerable to Prototype Pollution via the main function.

  14. 8.1CVE-2020-28460EPSS 1.5%

    This affects the package multi-ini before 2.1.2. It is possible to pollute an object's prototype by specifying the constructor.proto object as part of an array. This is a bypass of CVE-2020-28448.

  15. 9.8CVE-2020-28448EPSS 1.5%

    This affects the package multi-ini before 2.1.1. It is possible to pollute an object's prototype by specifying the proto object as part of an array.

  16. 7.3CVE-2020-28458EPSS 3.7%

    All versions of package datatables.net are vulnerable to Prototype Pollution due to an incomplete fix for https://snyk.io/vuln/SNYK-JS-DATATABLESNET-598806.

  17. 7.5CVE-2020-7792EPSS 2.1%

    This affects all versions of package mout. The deepFillIn function can be used to 'fill missing properties recursively', while the deepMixIn 'mixes objects into the target object, recursively mixing existing child objects as well'. In both…

  18. 9.8CVE-2020-7788EPSS 3.7%

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

  19. 9.8CVE-2020-7774EPSS 70%

    The package y18n before 3.2.2, 4.0.1 and 5.0.5, is vulnerable to Prototype Pollution.

  20. 7.5CVE-2020-28268EPSS 3.6%

    Prototype pollution vulnerability in 'controlled-merge' versions 1.0.0 through 1.2.0 allows attacker to cause a denial of service and may lead to remote code execution.

  21. 9.8CVE-2020-28271EPSS 3.4%

    Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service and may lead to remote code execution.

  22. 9.8CVE-2020-28270EPSS 3.8%

    Prototype pollution vulnerability in 'object-hierarchy-access' versions 0.2.0 through 0.32.0 allows attacker to cause a denial of service and may lead to remote code execution.

  23. 9.8CVE-2020-28269EPSS 4.2%

    Prototype pollution vulnerability in 'field' versions 0.0.1 through 1.0.1 allows attacker to cause a denial of service and may lead to remote code execution.

  24. 9.8CVE-2020-7770EPSS 1.9%

    This affects the package json8 before 1.0.3. The function adds in the target object the property specified in the path, however it does not properly check the key being set, leading to a prototype pollution.

  25. 9.8CVE-2020-7768EPSS 4.0%

    The package grpc before 1.24.4; the package @grpc/grpc-js before 1.1.8 are vulnerable to Prototype Pollution via loadPackageDefinition.

  26. 9.8CVE-2020-7766EPSS 1.9%

    This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the proper…

  27. 9.8CVE-2020-7746EPSS 4.7%

    This affects the package chart.js before 2.9.4. The options parameter is not properly sanitized when it is processed. When the options are processed, the existing options (or the defaults options) are deeply merged with provided options. H…

  28. 7.2CVE-2020-7751EPSS 1.5%

    pathval before version 1.1.1 is vulnerable to prototype pollution.

  29. 8.1CVE-2020-7748EPSS 1.7%

    This affects the package @tsed/core before 5.65.7. This vulnerability relates to the deepExtend function which is used as part of the utils directory. Depending on if user input is provided, an attacker can overwrite and pollute the object…

  30. 7.3CVE-2020-7743EPSS 3.9%

    The package mathjs before 7.5.1 are vulnerable to Prototype Pollution via the deepExtend function that runs upon configuration updates.

  31. 7.2CVE-2020-7709EPSS 1.8%

    This affects the package json-pointer before 0.6.1. Multiple reference of object using slash is supported.

  32. 9.8CVE-2020-7737EPSS 1.4%

    All versions of package safetydance are vulnerable to Prototype Pollution via the set function.

  33. 9.8CVE-2020-7736EPSS 1.5%

    The package bmoor before 0.8.12 are vulnerable to Prototype Pollution via the set function.

  34. 9.8CVE-2020-8158EPSS 2.1%

    Prototype pollution vulnerability in the TypeORM package < 0.2.25 may allow attackers to add or modify Object properties leading to further denial of service or SQL injection attacks.

  35. 9.8CVE-2019-0230ExploitEPSS 97%

    Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.

  36. 9.8CVE-2020-7727EPSS 1.9%

    All versions of package gedi are vulnerable to Prototype Pollution via the set function.

  37. 9.8CVE-2020-7726EPSS 1.9%

    All versions of package safe-object2 are vulnerable to Prototype Pollution via the setter function.

  38. 9.8CVE-2020-7725EPSS 1.9%

    All versions of package worksmith are vulnerable to Prototype Pollution via the setValue function.

  39. 9.8CVE-2020-7724EPSS 1.9%

    All versions of package tiny-conf are vulnerable to Prototype Pollution via the set function.

  40. 9.8CVE-2020-7723EPSS 1.9%

    All versions of package promisehelpers are vulnerable to Prototype Pollution via the insert function.

  41. 9.8CVE-2020-7722EPSS 1.9%

    All versions of package nodee-utils are vulnerable to Prototype Pollution via the deepSet function.

  42. 9.8CVE-2020-7721EPSS 1.9%

    All versions of package node-oojs are vulnerable to Prototype Pollution via the setPath function.

  43. 7.3CVE-2020-7720EPSS 3.2%

    The package node-forge before 0.10.0 is vulnerable to Prototype Pollution via the util.setPath function. Note: Version 0.10.0 is a breaking change removing the vulnerable functions.

  44. 9.8CVE-2020-7719EPSS 2.8%

    Versions of package locutus before 2.0.12 are vulnerable to prototype Pollution via the php.strings.parse_str function.

  45. 9.8CVE-2020-7718EPSS 1.9%

    All versions of package gammautils are vulnerable to Prototype Pollution via the deepSet and deepMerge functions.

  46. 9.8CVE-2020-7717EPSS 1.9%

    All versions of package dot-notes are vulnerable to Prototype Pollution via the create function.

  47. 9.8CVE-2020-7716EPSS 1.9%

    All versions of package deeps are vulnerable to Prototype Pollution via the set function.

  48. 9.8CVE-2020-7715EPSS 2.0%

    All versions of package deep-get-set are vulnerable to Prototype Pollution via the main function.

  49. 9.8CVE-2020-7714EPSS 1.9%

    All versions of package confucious are vulnerable to Prototype Pollution via the set function.

  50. 9.8CVE-2020-7713EPSS 1.9%

    All versions of package arr-flatten-unflatten are vulnerable to Prototype Pollution via the constructor.