automattic/mongoose · Security

automattic/mongoose vulnerable to Prototype pollution via Schema.path

GHSA ID
GHSA-f825-f98c-gj3g
CVE ID
CVE-2022-2564
Severity
high
Published
Updated
CVSS
7 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
CVSS v3
7 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

Description

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.

CWEs

References