9.8
CRITICAL
CVE-2021-21304
Dynamoose Prototype Pollution Vulnerability
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.

INFO

Published Date :

Feb. 8, 2021, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 5:47 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-21304 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Dynamoosejs dynamoose
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-21304.

URL Resource
https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e Patch Third Party Advisory
https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0 Release Notes Third Party Advisory
https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2 Patch Third Party Advisory
https://www.npmjs.com/package/dynamoose Product Third Party Advisory
https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e Patch Third Party Advisory
https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0 Release Notes Third Party Advisory
https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2 Patch Third Party Advisory
https://www.npmjs.com/package/dynamoose Product Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-21304 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-21304 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e
    Added Reference https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0
    Added Reference https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2
    Added Reference https://www.npmjs.com/package/dynamoose
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Oct. 25, 2022

    Action Type Old Value New Value
    Added CWE NIST CWE-1321
  • CVE Modified by [email protected]

    May. 12, 2022

    Action Type Old Value New Value
    Added CWE GitHub, Inc. CWE-1321
  • Modified Analysis by [email protected]

    Sep. 21, 2021

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Feb. 12, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e No Types Assigned https://github.com/dynamoose/dynamoose/commit/324c62b4709204955931a187362f8999805b1d8e Patch, Third Party Advisory
    Changed Reference Type https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0 No Types Assigned https://github.com/dynamoose/dynamoose/releases/tag/v2.7.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2 No Types Assigned https://github.com/dynamoose/dynamoose/security/advisories/GHSA-rrqm-p222-8ph2 Patch, Third Party Advisory
    Changed Reference Type https://www.npmjs.com/package/dynamoose No Types Assigned https://www.npmjs.com/package/dynamoose Product, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:dynamoosejs:dynamoose:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.7.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-21304 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.64 }} -0.27%

score

0.68054

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability