Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

swaggerize-express-4.0.5.tgz: 2 vulnerabilities (highest severity is: 8.8) #26

Description

@mend-bolt-for-github
Vulnerable Library - swaggerize-express-4.0.5.tgz

Path to dependency file: /apis/userprofile/package.json

Path to vulnerable library: /apis/userprofile/node_modules/async/package.json

Found in HEAD commit: 0b34798e47770cd5cdb86f04f918575251d92f0c

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (swaggerize-express version) Remediation Available
CVE-2018-3728 High 8.8 hoek-2.16.3.tgz Transitive N/A*
CVE-2021-43138 High 7.8 async-0.9.2.tgz Transitive N/A*

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

Details

CVE-2018-3728

Vulnerable Library - hoek-2.16.3.tgz

General purpose node utilities

Library home page: https://registry.npmjs.org/hoek/-/hoek-2.16.3.tgz

Path to dependency file: /apis/userprofile/package.json

Path to vulnerable library: /apis/userprofile/node_modules/hoek/package.json

Dependency Hierarchy:

  • swaggerize-express-4.0.5.tgz (Root Library)
    • swaggerize-routes-1.0.11.tgz
      • enjoi-1.0.4.tgz
        • joi-6.10.1.tgz
          • hoek-2.16.3.tgz (Vulnerable Library)

Found in HEAD commit: 0b34798e47770cd5cdb86f04f918575251d92f0c

Found in base branch: main

Vulnerability Details

hoek node module before 4.2.0 and 5.0.x before 5.0.3 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via 'merge' and 'applyToDefaults' functions, which allows a malicious user to modify the prototype of "Object" via proto, causing the addition or modification of an existing property that will exist on all objects.

Publish Date: 2018-03-30

URL: CVE-2018-3728

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16082

Release Date: 2018-03-30

Fix Resolution: 4.2.0,5.0.3

Step up your Open Source Security Game with Mend here

CVE-2021-43138

Vulnerable Library - async-0.9.2.tgz

Higher-order functions and common patterns for asynchronous code

Library home page: https://registry.npmjs.org/async/-/async-0.9.2.tgz

Path to dependency file: /apis/userprofile/package.json

Path to vulnerable library: /apis/userprofile/node_modules/async/package.json

Dependency Hierarchy:

  • swaggerize-express-4.0.5.tgz (Root Library)
    • async-0.9.2.tgz (Vulnerable Library)

Found in HEAD commit: 0b34798e47770cd5cdb86f04f918575251d92f0c

Found in base branch: main

Vulnerability Details

In Async before 2.6.4 and 3.x before 3.2.2, a malicious user can obtain privileges via the mapValues() method, aka lib/internal/iterator.js createObjectIterator prototype pollution.

Publish Date: 2022-04-06

URL: CVE-2021-43138

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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-2021-43138

Release Date: 2022-04-06

Fix Resolution: async - 2.6.4,3.2.2

Step up your Open Source Security Game with Mend here

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions