HIGH 7.0 npm

automattic/mongoose vulnerable to Prototype pollution via Schema.path

GHSA-f825-f98c-gj3g · BIT-mongoose-2022-2564 · CVE-2022-2564

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes