Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1nbXdwLTNwd2MtM2ozZ84AAvS-
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.
Permalink: https://github.com/advisories/GHSA-gmwp-3pwc-3j3gJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nbXdwLTNwd2MtM2ozZ84AAvS-
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: 10 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-gmwp-3pwc-3j3g, CVE-2022-37614
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-37614
- https://github.com/mfncooper/mockery/issues/77
- https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L119
- https://github.com/mfncooper/mockery/blob/822f0566fd6d72af8c943ae5ca2aa92e516aa2cf/mockery.js#L62
- https://github.com/advisories/GHSA-gmwp-3pwc-3j3g
Blast Radius: 43.9
Affected Packages
npm:mockery
Dependent packages: 2,012Dependent repositories: 30,026
Downloads: 620,682 last month
Affected Version Ranges: <= 2.1.0
No known fixed version
All affected versions: 1.0.0, 1.0.1, 1.1.1, 1.1.2, 1.2.0, 1.3.0, 1.4.0, 1.4.1, 1.5.1, 1.6.2, 1.7.0, 2.0.0, 2.1.0