SCA: security update for codemirror (GHSA-4gw3-8f77-f72c)

high Tenable Cloud Security Plugin ID 410191

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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/bl
ob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129. The ReDOS vulnerability of
the regex is mainly due to the sub-pattern (s|/*.*?*/)* (CVE-2020-7760)

See Also

https://github.com/advisories/GHSA-4gw3-8f77-f72c

Plugin Details

Severity: High

ID: 410191

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2020-7760

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/10/2021

Vulnerability Publication Date: 10/30/2020

Reference Information

CVE: CVE-2020-7760

cwe: CWE-400