Skip to content

CVE-2020-8244 (Medium) detected in multiple libraries #61

Open
@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2020-8244 - Medium Severity Vulnerability

Vulnerable Libraries - bl-1.2.2.tgz, bl-4.0.2.tgz, bl-3.0.0.tgz

bl-1.2.2.tgz

Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!

Library home page: https://registry.npmjs.org/bl/-/bl-1.2.2.tgz

Path to dependency file: /deps/npm/docs/package.json

Path to vulnerable library: /deps/npm/docs/package.json

Dependency Hierarchy:

  • gatsby-plugin-prefetch-google-fonts-1.4.3.tgz (Root Library)
    • download-7.1.0.tgz
      • decompress-4.2.0.tgz
        • decompress-tar-4.1.1.tgz
          • tar-stream-1.6.2.tgz
            • bl-1.2.2.tgz (Vulnerable Library)
bl-4.0.2.tgz

Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!

Library home page: https://registry.npmjs.org/bl/-/bl-4.0.2.tgz

Path to dependency file: /deps/npm/docs/package.json

Path to vulnerable library: /deps/npm/docs/package.json

Dependency Hierarchy:

  • gatsby-2.23.20.tgz (Root Library)
    • st-2.0.0.tgz
      • bl-4.0.2.tgz (Vulnerable Library)
bl-3.0.0.tgz

Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!

Library home page: https://registry.npmjs.org/bl/-/bl-3.0.0.tgz

Path to dependency file: /deps/npm/docs/package.json

Path to vulnerable library: /deps/npm/docs/package.json

Dependency Hierarchy:

  • snyk-1.437.3.tgz (Root Library)
    • snyk-docker-plugin-4.13.1.tgz
      • tar-stream-2.1.0.tgz
        • bl-3.0.0.tgz (Vulnerable Library)

Found in HEAD commit: 00fdb00d5bdbaea4fec4642989374d82cbdb1a3c

Found in base branch: master

Vulnerability Details

A buffer over-read vulnerability exists in bl <4.0.3, <3.0.1, <2.2.1, and <1.2.3 which could allow an attacker to supply user input (even typed) that if it ends up in consume() argument and can become negative, the BufferList state can be corrupted, tricking it into exposing uninitialized memory via regular .slice() calls.

Publish Date: 2020-08-30

URL: CVE-2020-8244

CVSS 3 Score Details (6.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-pp7h-53gx-mx7r

Release Date: 2020-08-30

Fix Resolution (bl): 1.2.3

Direct dependency fix Resolution (gatsby): 2.23.21-oom-exit-code.13

Fix Resolution (bl): 1.2.3

Direct dependency fix Resolution (snyk): 1.437.4


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions