phamleduy04/ncov-api

etcd-1.2.0.tgz: 2 vulnerabilities (highest severity is: 9.8)

mend-bolt-for-github opened this issue · 0 comments

Vulnerable Library - etcd-1.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Found in HEAD commit: 0b828a852c0c8aa892698c53e45ecff7b3a00e42

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (etcd version) Remediation Possible**
CVE-2023-36665 Critical 9.8 detected in multiple dependencies Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2023-36665

Vulnerable Libraries - protobufjs-7.2.2.tgz, protobufjs-6.11.3.tgz

protobufjs-7.2.2.tgz

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • etcd-1.2.0.tgz (Root Library)
    • etcd3-1.1.0.tgz
      • grpc-js-1.8.11.tgz
        • proto-loader-0.7.5.tgz
          • protobufjs-7.2.2.tgz (Vulnerable Library)

protobufjs-6.11.3.tgz

Protocol Buffers for JavaScript (& TypeScript).

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

Path to dependency file: /package.json

Path to vulnerable library: /package.json

Dependency Hierarchy:

  • etcd-1.2.0.tgz (Root Library)
    • etcd3-1.1.0.tgz
      • proto-loader-0.5.6.tgz
        • protobufjs-6.11.3.tgz (Vulnerable Library)

Found in HEAD commit: 0b828a852c0c8aa892698c53e45ecff7b3a00e42

Found in base branch: main

Vulnerability Details

"protobuf.js (aka protobufjs) 6.10.0 through 7.x before 7.2.5 allows Prototype Pollution, a different vulnerability than CVE-2022-25878. A user-controlled protobuf message can be used by an attacker to pollute the prototype of Object.prototype by adding and overwriting its data and functions. Exploitation can involve: (1) using the function parse to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty.

Publish Date: 2023-07-05

URL: CVE-2023-36665

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: GHSA-h755-8qp9-cq85

Release Date: 2023-07-05

Fix Resolution: protobufjs - 6.11.4,7.2.4

Step up your Open Source Security Game with Mend here