AlexRogalskiy/java-patterns

CVE-2020-8244 (Medium) detected in bl-1.2.1.tgz, bl-1.1.2.tgz - autoclosed

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

CVE-2020-8244 - Medium Severity Vulnerability

Vulnerable Libraries - bl-1.2.1.tgz, bl-1.1.2.tgz

bl-1.2.1.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.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/npm/node_modules/pacote/node_modules/tar-stream/node_modules/bl/package.json

Dependency Hierarchy:

  • gitbook-cli-2.3.2.tgz (Root Library)
    • npm-5.1.0.tgz
      • pacote-2.7.38.tgz
        • tar-stream-1.5.4.tgz
          • bl-1.2.1.tgz (Vulnerable Library)
bl-1.1.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.1.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/npmi/node_modules/npm/node_modules/request/node_modules/bl/package.json

Dependency Hierarchy:

  • gitbook-cli-2.3.2.tgz (Root Library)
    • npmi-1.0.1.tgz
      • npm-2.15.12.tgz
        • request-2.74.0.tgz
          • bl-1.1.2.tgz (Vulnerable Library)

Found in HEAD commit: fe3fc69c6aa9128d2a4b77ebfd8d8e355574dd05

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,2.2.1,3.0.1,4.0.3


Step up your Open Source Security Game with WhiteSource here

👋 Thanks for reporting!

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/ISSUE_TEMPLATE/bug_report.md), and link to this old issue if necessary.