GitHub Advisoryadvisory · npm

GHSA-gmwp-3pwc-3j3g mockery is vulnerable to prototype pollution

CRITICAL Published 2022-10-12 Modified 2023-07-28 Official page ↗
Aliases
CVE-2022-37614
Ecosystem
npm
Packages
mockery
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1321
Reviewed
2023-07-28

Affected packages

• npm mockery: <= 2.1.0 (no fix yet)

Description

Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via the key variable in mockery.js.

Related

Alias · CVE (1)

  • CVE-2022-37614 Prototype pollution vulnerability in function enable in mockery.js in mfncooper mockery commit 822f0566fd6d72af8c943ae5ca2aa92e516aa2cf via… vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References