CVE-2022-2564

HIGH7.0EPSS 2.9%

automattic/mongoose vulnerable to Prototype pollution via Schema.path

Published: 7/29/2022Modified: 12/6/2023
Also known as:GHSA-f825-f98c-gj3gBIT-mongoose-2022-2564

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H

References (8)