Linux Distros Unpatched Vulnerability : CVE-2022-40896

medium Nessus Plugin ID 224941

Synopsis

The Linux/Unix host has one or more packages installed with a vulnerability that the vendor indicates will not be patched.

Description

The Linux/Unix host has one or more packages installed that are impacted by a vulnerability without a vendor supplied patch available.

- A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
(CVE-2022-40896)

Note that Nessus relies on the presence of the package as reported by the vendor.

Solution

There is no known solution at this time.

See Also

https://access.redhat.com/security/cve/cve-2022-40896

https://security-tracker.debian.org/tracker/CVE-2022-40896

https://ubuntu.com/security/CVE-2022-40896

Plugin Details

Severity: Medium

ID: 224941

File Name: unpatched_CVE_2022_40896.nasl

Version: 1.3

Type: local

Agent: unix

Family: Misc.

Published: 3/5/2025

Updated: 9/14/2025

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

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-2022-40896

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:python2-pygments, p-cpe:/a:canonical:ubuntu_linux:pygments, p-cpe:/a:redhat:enterprise_linux:python3.11-pip-wheel, p-cpe:/a:redhat:enterprise_linux:python3-pygments, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:pygments, p-cpe:/a:centos:centos:resource-agents-gcp, cpe:/o:centos:centos:8, p-cpe:/a:redhat:enterprise_linux:python3.11-pip, p-cpe:/a:redhat:enterprise_linux:resource-agents-paf, p-cpe:/a:centos:centos:resource-agents-paf, p-cpe:/a:centos:centos:python-pygments, p-cpe:/a:centos:centos:python3.11-pip, cpe:/o:redhat:enterprise_linux:8, cpe:/o:canonical:ubuntu_linux:18.04:-:lts, p-cpe:/a:centos:centos:resource-agents, p-cpe:/a:redhat:enterprise_linux:python2-pygments, cpe:/o:redhat:enterprise_linux:9, p-cpe:/a:redhat:enterprise_linux:resource-agents-gcp, p-cpe:/a:redhat:enterprise_linux:resource-agents, p-cpe:/a:redhat:enterprise_linux:python-pygments, p-cpe:/a:centos:centos:resource-agents-aliyun, p-cpe:/a:redhat:enterprise_linux:resource-agents-aliyun, cpe:/o:canonical:ubuntu_linux:20.04:-:lts, cpe:/o:debian:debian_linux:12.0, p-cpe:/a:centos:centos:python3.11-pip-wheel, p-cpe:/a:centos:centos:python3-pygments

Required KB Items: Host/local_checks_enabled, Host/cpu, global_settings/vendor_unpatched, Host/OS/identifier

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 7/19/2023

Reference Information

CVE: CVE-2022-40896