openSUSE 15 Security Update : hiredis (openSUSE-SU-2021:1536-1)

high Nessus Plugin ID 155887

Language:

Synopsis

The remote SUSE host is missing a security update.

Description

The remote SUSE Linux SUSE15 host has packages installed that are affected by a vulnerability as referenced in the openSUSE-SU-2021:1536-1 advisory.

- Hiredis is a minimalistic C client library for the Redis database. In affected versions Hiredis is vulnurable to integer overflow if provided maliciously crafted or corrupted `RESP` `mult-bulk` protocol data. When parsing `multi-bulk` (array-like) replies, hiredis fails to check if `count * sizeof(redisReply*)` can be represented in `SIZE_MAX`. If it can not, and the `calloc()` call doesn't itself make this check, it would result in a short allocation and subsequent buffer overflow. Users of hiredis who are unable to update may set the [maxelements](https://github.com/redis/hiredis#reader-max- array-elements) context option to a value small enough that no overflow is possible. (CVE-2021-32765)

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 hiredis, hiredis-devel and / or libhiredis0_13 packages.

See Also

https://bugzilla.suse.com/1191331

http://www.nessus.org/u?13d4efd6

https://www.suse.com/security/cve/CVE-2021-32765

Plugin Details

Severity: High

ID: 155887

File Name: openSUSE-2021-1536.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/7/2021

Updated: 12/7/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

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

CVSS Score Source: CVE-2021-32765

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/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:novell:opensuse:hiredis, p-cpe:/a:novell:opensuse:hiredis-devel, p-cpe:/a:novell:opensuse:libhiredis0_13, cpe:/o:novell:opensuse:15.2, cpe:/o:novell:opensuse:15.3

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/6/2021

Vulnerability Publication Date: 10/4/2021

Reference Information

CVE: CVE-2021-32765