Vulnerability · Published Feb 8, 2021 · Assigned by GitHub_M
CVE-2021-21304Prototype Pollution in Dynamoose
High 7.2
In plain English
A high-severity prototype pollution in dynamoose from dynamoose. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | dynamoose | 2.7.0 | GHSA-rrqm-p222-8ph2 |
Affected products (as reported)
Weakness: CWE-915, CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2 x_refsource_CONFIRM
- https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e x_refsource_MISC
- https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0 x_refsource_MISC
- https://www.npmjs.com/package/dynamoose x_refsource_MISC