CentOS 7 : rpm (CESA-2014:1976)

critical Nessus Plugin ID 79877

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated rpm packages that fix two security issues are now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having Important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links in the References section.

The RPM Package Manager (RPM) is a powerful command line driven package management system capable of installing, uninstalling, verifying, querying, and updating software packages. Each software package consists of an archive of files along with information about the package such as its version, description, and other information.

It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely.
Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation.
(CVE-2013-6435)

It was found that RPM could encounter an integer overflow, leading to a stack-based buffer overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118)

These issues were discovered by Florian Weimer of Red Hat Product Security.

All rpm users are advised to upgrade to these updated packages, which contain backported patches to correct these issues. All running applications linked against the RPM library must be restarted for this update to take effect.

Solution

Update the affected rpm packages.

See Also

http://www.nessus.org/u?0e9e5a8b

Plugin Details

Severity: Critical

ID: 79877

File Name: centos_RHSA-2014-1976.nasl

Version: 1.10

Type: local

Agent: unix

Published: 12/15/2014

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2014-8118

Vulnerability Information

CPE: p-cpe:/a:centos:centos:rpm-apidocs, cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:rpm-build, p-cpe:/a:centos:centos:rpm-python, p-cpe:/a:centos:centos:rpm-devel, p-cpe:/a:centos:centos:rpm-libs, p-cpe:/a:centos:centos:rpm-sign, p-cpe:/a:centos:centos:rpm-cron, p-cpe:/a:centos:centos:rpm, p-cpe:/a:centos:centos:rpm-build-libs

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/10/2014

Vulnerability Publication Date: 12/16/2014

Reference Information

CVE: CVE-2013-6435, CVE-2014-8118

BID: 71558, 71588

RHSA: 2014:1976