RHEL 7 : rpm (RHSA-2014:1976)

critical Nessus Plugin ID 79851

Synopsis

The remote Red Hat host is missing one or more security updates for rpm.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2014:1976 advisory.

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.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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

Solution

Update the RHEL rpm package based on the guidance in RHSA-2014:1976.

See Also

http://www.nessus.org/u?bd3004cc

https://access.redhat.com/errata/RHSA-2014:1976

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=1039811

https://bugzilla.redhat.com/show_bug.cgi?id=1168715

Plugin Details

Severity: Critical

ID: 79851

File Name: redhat-RHSA-2014-1976.nasl

Version: 1.17

Type: local

Agent: unix

Published: 12/10/2014

Updated: 11/4/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.5

Vendor

Vendor Severity: Important

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

CVSS v3

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

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

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

CVSS Score Source: CVE-2013-6435

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/9/2014

Vulnerability Publication Date: 12/16/2014

Reference Information

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

BID: 71558

CWE: 121, 367

RHSA: 2014:1976