Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-7760 (High) detected in javascript-5.52.2.min.js, codemirror-5.52.2.min.js #275

Open
mend-bolt-for-github bot opened this issue Feb 19, 2021 · 0 comments · Fixed by #78, #419, #418, #427 or #426
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Feb 19, 2021

CVE-2020-7760 - High Severity Vulnerability

Vulnerable Libraries - javascript-5.52.2.min.js, codemirror-5.52.2.min.js

javascript-5.52.2.min.js

In-browser code editing made bearable

Library home page: https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/javascript/javascript.min.js

Path to dependency file: /website/pages/playground/index.html

Path to vulnerable library: /website/pages/playground/index.html

Dependency Hierarchy:

  • javascript-5.52.2.min.js (Vulnerable Library)
codemirror-5.52.2.min.js

In-browser code editing made bearable

Library home page: https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/codemirror.min.js

Path to dependency file: /website/pages/playground/index.html

Path to vulnerable library: /website/pages/playground/index.html

Dependency Hierarchy:

  • codemirror-5.52.2.min.js (Vulnerable Library)

Found in HEAD commit: 4bcfa0c3b57b624037b4ed29391d87f76e57a7f3

Found in base branch: master

Vulnerability Details

This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2. The vulnerable regular expression is located in https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129. The ReDOS vulnerability of the regex is mainly due to the sub-pattern (s|/.?/)

Publish Date: 2020-10-30

URL: CVE-2020-7760

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: None
    • 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-2020-7760

Release Date: 2020-10-30

Fix Resolution: codemirror - 5.58.2


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Feb 19, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7760 (Medium) detected in multiple libraries CVE-2020-7760 (Medium) detected in javascript-5.52.2.min.js, codemirror-5.52.2.min.js Jun 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7760 (Medium) detected in javascript-5.52.2.min.js, codemirror-5.52.2.min.js CVE-2020-7760 (Medium) detected in codemirror-5.52.2.min.js Jul 7, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7760 (Medium) detected in codemirror-5.52.2.min.js CVE-2020-7760 (Medium) detected in javascript-5.52.2.min.js, codemirror-5.52.2.min.js Jul 22, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2020-7760 (Medium) detected in javascript-5.52.2.min.js, codemirror-5.52.2.min.js CVE-2020-7760 (High) detected in javascript-5.52.2.min.js, codemirror-5.52.2.min.js Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment