{"id":"CVE-2021-21304","published":"2021-02-08T17:40:17Z","modified":"2024-08-03T18:09:15Z","title":"Prototype Pollution in Dynamoose","vendor":"dynamoose","product":"dynamoose","tier":"tail","description":{"text":"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 is used throughout the codebase for various operations throughout Dynamoose. We have not seen any evidence of this vulnerability being exploited. There is no evidence this vulnerability impacts versions 1.x.x since the vulnerable method was added as part of the v2 rewrite. This vulnerability also impacts v2.x.x beta/alpha versions. Version 2.7.0 includes a patch for this vulnerability.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01917,"percentile":0.80386,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"},{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e","tags":["x_refsource_MISC"]},{"url":"https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/dynamoose","tags":["x_refsource_MISC"]}],"priority":{"score":21.1,"factors":[{"name":"EPSS percentile","points":16.08},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"dynamoose","affectedVersions":[{"vendor":"dynamoose","product":"dynamoose","versions":[">= 2.0.0, < 2.7.0"]}],"affected":[{"ecosystem":"npm","package":"dynamoose","vulnerableRanges":[">=2.0.0, <2.7.0"],"patched":["2.7.0"],"from":["GHSA-rrqm-p222-8ph2"],"provenance":"source"}],"summary":{"text":"Prototype pollution exists in Dynamoose, an open-source modeling tool for Amazon DynamoDB, within the internal utility method lib/utils/object/set.ts from version 2.0.0 up to but not including 2.7.0. An attacker can modify object prototype attributes through this method over the network, with no privileges or user interaction required and low attack complexity, potentially affecting resources beyond the vulnerable component.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:12:36Z"},"euvd":{"id":"EUVD-2021-0571","exploited":false,"provenance":"source"}}