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.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)1.9%top 20.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmdynamoose2.7.0GHSA-rrqm-p222-8ph2

Affected products (as reported)

VendorProductVersions
dynamoose dynamoose >= 2.0.0, < 2.7.0

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