logo

CVE-2022-2564 mongoose

Package

Manager: npm
Name: mongoose
Vulnerable Version: >=6.0.0 <6.4.6 || >=0 <5.13.15

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01331 pctl0.79188

Details

automattic/mongoose vulnerable to Prototype pollution via Schema.path Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Affected versions of this package are vulnerable to Prototype Pollution. The `Schema.path()` function is vulnerable to prototype pollution when setting the schema object. This vulnerability allows modification of the Object prototype and could be manipulated into a Denial of Service (DoS) attack.

Metadata

Created: 2022-07-29T00:00:18Z
Modified: 2023-09-11T16:22:58Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-f825-f98c-gj3g/GHSA-f825-f98c-gj3g.json
CWE IDs: ["CWE-1321"]
Alternative ID: GHSA-f825-f98c-gj3g
Finding: F390
Auto approve: 1