Skip to content

CVE-2022-25878 (High) detected in protobufjs-6.8.8.tgz #70

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2022-25878 - High Severity Vulnerability

Vulnerable Library - protobufjs-6.8.8.tgz

Protocol Buffers for JavaScript (& TypeScript).

Library home page: https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz

Path to dependency file: /graphql-server-with-node/package.json

Path to vulnerable library: /node_modules/protobufjs/package.json

Dependency Hierarchy:

  • apollo-server-express-2.4.8.tgz (Root Library)
    • apollo-server-core-2.4.8.tgz
      • apollo-engine-reporting-1.0.7.tgz
        • apollo-engine-reporting-protobuf-0.2.1.tgz
          • protobufjs-6.8.8.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The package protobufjs before 6.11.3 are vulnerable to Prototype Pollution which can allow an attacker to add/modify properties of the Object.prototype. This vulnerability can occur in multiple ways: 1. by providing untrusted user input to util.setProperty or to ReflectionObject.setParsedOption functions 2. by parsing/loading .proto files

Publish Date: 2022-05-27

URL: CVE-2022-25878

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25878

Release Date: 2022-05-27

Fix Resolution (protobufjs): 6.10.3

Direct dependency fix Resolution (apollo-server-express): 2.5.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions