Skip to content

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

@mend-bolt-for-github

Description

@mend-bolt-for-github

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)
    • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions