Live threats

All CVEs / Mockery Project

CVE-2022-37614Mockery Project Mockery

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.9%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Oct 12, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Mockery.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mockery ≤ 2.1.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-gmwp-3pwc-3j3g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mockery_projectmockery2.1.0

Official sources

References

Links published by the sources. Open them with care.