Prototype Pollution in Dynamoose
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-915.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dynamoose | dynamoose | 2.0.0 to before 2.7.0 | 2.7.0 | Patch available | CNA |
| — | dynamoose (npm) | 2.0.0 to before 2.7.0 | 2.7.0 | Patch available | GHSA-rrqm-p222-8ph2 |
- dynamoose Vendordynamoose Affected 2.0.0 to before 2.7.0 Fixed in 2.7.0 Patch available CNA
- dynamoose (npm) Vendor— Affected 2.0.0 to before 2.7.0 Fixed in 2.7.0 Patch available GHSA-rrqm-p222-8ph2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dynamoosejs:dynamoose:*:*:*:*:*:node.js:*:* | 2.0.0 to before 2.7.0 | Vulnerable | Dynamoosejs |
- cpe:2.3:a:dynamoosejs:dynamoose:*:*:*:*:*:node.js:*:* Versions 2.0.0 to before 2.7.0 Vulnerable ·Dynamoosejs
Remediation
- Fix · CNA dynamoose (dynamoose) Fixed in 2.7.0
- Fix · GHSA-rrqm-p222-8ph2 dynamoose (npm) Fixed in 2.7.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-21304
- 2026-10-03 Alias added: GHSA-rrqm-p222-8ph2
References
Patch 2
Advisory 3
Sources
- CVE-2021-21304 · CVE Program
- CVE-2021-21304 · NVD
- FIRST EPSS
- GHSA-rrqm-p222-8ph2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences