Lucene search

K
ibmIBM8A9B6AD5A94A7E6CA2A15D30A683A41652EBEC377DD66AA8B9E8B8DA74CAB07B
HistoryDec 04, 2023 - 10:40 a.m.

Security Bulletin: IBM Cinder plug-in is affected by a vulnerability in the Python Pygments-2.14.0 package [CVE-2022-40896]

2023-12-0410:40:27
www.ibm.com
8
ibm cinder plug-in
pygments-2.14.0
vulnerability
python
redos
pygments library
update
fix
svf driver

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

6.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.5%

Summary

The Python Pygments package, a syntax highlighting package, is used by IBM Cinder plug-in. Pygments-2.14.0 is vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expressions in SqlJinjaLexer class (vulnerability CVE-2022-40896).

Vulnerability Details

CVEID:CVE-2022-40896
**DESCRIPTION:**Pygments is vulnerable to a denial of service, caused by a ReDoS issue in pygments/lexers/smithy.py. By sending a specially crafted request, a remote attacker could exploit this vulnerability to cause a denial of service.
CVSS Base score: 5.3
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/261415 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)

Affected Products and Versions

Affected Product(s) Version(s)
Cinder Plug-in All

Remediation/Fixes

Update Python to version >= 3.7

Update pygments library to version >= 2.17.1

Please note:

  • The plugin will still work on Python < 3.7, but it is necessary to update to fix this vulnerability as the fixed version of pygments library is not supported on Python < 3.7
  • IBM Cinder SVf driver has been tested using non-vulnerable version of pygments library.

Workarounds and Mitigations

None

Affected configurations

Vulners
Node
ibmafp_viewer_plug-inMatchany
CPENameOperatorVersion
cinder plug-ineqany

5.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

6.7 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

10.5%