GHSA-gmwp-3pwc-3j3g

Suggest an improvement
Source
https://github.com/advisories/GHSA-gmwp-3pwc-3j3g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-gmwp-3pwc-3j3g/GHSA-gmwp-3pwc-3j3g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gmwp-3pwc-3j3g
Aliases
  • CVE-2022-37614
Published
2022-10-12T19:00:41Z
Modified
2023-11-08T04:10:09.303137Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
mockery is vulnerable to prototype pollution
Details

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

Database specific
{
    "nvd_published_at": "2022-10-12T12:15:00Z",
    "cwe_ids": [
        "CWE-1321"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-28T21:01:11Z"
}
References

Affected packages

npm / mockery

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.1.0