Security mailing lists by PureSourceCode

CVE-2022-37614

CRITICAL 9.8CVSS 3.1

mockery is vulnerable to prototype pollution

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

Published
12 Oct 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1321
Also known as
GHSA-gmwp-3pwc-3j3g
Sources
NVDJSONOSV GHSA-gmwp-3pwc-3j3gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mockery_project mockery
cpe:2.3:a:mockery_project:mockery:2.1.0:*:*:*:*:node.js:*:*
= 2.1.0
OSV npm mockery <= 2.1.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 12 Oct 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.