flamencist / flamencist/GenericConnectionViewer

CVE-2022-37614 (High) detected in mockery-1.7.0.tgz

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
security vulnerability
Dominant language
TypeScript
Stars
12
Forks
3
PR merge metrics
No merged PRs in 30d

Description

## CVE-2022-37614 - High Severity Vulnerability
Vulnerable Library - mockery-1.7.0.tgz

Simplifying the use of mocks with Node.js


Library home page: https://registry.npmjs.org/mockery/-/mockery-1.7.0.tgz


Path to dependency file: /buildAndReleaseTask/package.json


Path to vulnerable library: /buildAndReleaseTask/node_modules/mockery/package.json


Dependency Hierarchy:
- azure-pipelines-task-lib-2.9.3.tgz (Root Library)
- :x: **mockery-1.7.0.tgz** (Vulnerable Library)


Vulnerability Details



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

Publish Date: 2022-10-12

URL: CVE-2022-37614



CVSS 3 Score Details (9.8)

Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High


For more information on CVSS3 Scores, click here.


Suggested Fix

Type: Upgrade version


Origin: https://nvd.nist.gov/vuln/detail/CVE-2022-37614


Release Date: 2022-10-12


Fix Resolution (mockery): 2.1.0


Direct dependency fix Resolution (azure-pipelines-task-lib): 3.4.0

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.