Live threats

All CVEs / Dynamoosejs

CVE-2021-21304Dynamoosejs Dynamoose

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Feb 8, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-915, CWE-1321
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Dynamoose.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm dynamoose ≥ 2.0.0 < 2.7.0 2.7.0 npm install dynamoose@2.7.0

Per OSV / GitHub Advisories (GHSA-rrqm-p222-8ph2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dynamoosejsdynamoose≥ 2.0.0 < 2.7.0

Official sources

References

Links published by the sources. Open them with care.