CentOS 7 : emacs (RHSA-2023:3481)

high Nessus Plugin ID 178967

Synopsis

The remote CentOS Linux host is missing a security update.

Description

The remote CentOS Linux 7 host has packages installed that are affected by a vulnerability as referenced in the RHSA-2023:3481 advisory.

- An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability.
In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed. (CVE-2022-48339)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://access.redhat.com/errata/RHSA-2023:3481

Plugin Details

Severity: High

ID: 178967

File Name: centos_RHSA-2023-3481.nasl

Version: 1.1

Type: local

Agent: unix

Published: 7/28/2023

Updated: 12/22/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2022-48339

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:emacs-nox, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:emacs-common, p-cpe:/a:centos:centos:emacs-filesystem, p-cpe:/a:centos:centos:emacs-el, p-cpe:/a:centos:centos:emacs-terminal, p-cpe:/a:centos:centos:emacs

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 7/27/2023

Vulnerability Publication Date: 2/20/2023

Reference Information

CVE: CVE-2022-48339

CWE: 77

RHSA: 2023:3481