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

javascript-3.16.0.js: 1 vulnerabilities (highest severity is: 7.5) #26

Open
mend-for-github-com bot opened this issue Aug 16, 2022 · 0 comments
Open
Labels
security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

Vulnerable Library - javascript-3.16.0.js

In-browser code editing made bearable

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

Path to dependency file: /clients/classic-ui/bower_components/codemirror/mode/javascript/typescript.html

Path to vulnerable library: /clients/classic-ui/bower_components/codemirror/mode/javascript/javascript.js

Found in HEAD commit: ee765c82cdb8fda389b5b028a35744c8dc2be1a9

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in Remediation Available
CVE-2020-7760 High 7.5 javascript-3.16.0.js Direct codemirror - 5.58.2

Details

CVE-2020-7760

Vulnerable Library - javascript-3.16.0.js

In-browser code editing made bearable

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

Path to dependency file: /clients/classic-ui/bower_components/codemirror/mode/javascript/typescript.html

Path to vulnerable library: /clients/classic-ui/bower_components/codemirror/mode/javascript/javascript.js

Dependency Hierarchy:

  • javascript-3.16.0.js (Vulnerable Library)

Found in HEAD commit: ee765c82cdb8fda389b5b028a35744c8dc2be1a9

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

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by Mend label Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants