Debian DLA-2695-1 : klibc - LTS security update

critical Nessus Plugin ID 151361

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-2695 advisory.

- An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() function may result in an integer overflow and a subsequent heap buffer overflow. (CVE-2021-31870)

- An issue was discovered in klibc before 2.0.9. An integer overflow in the cpio command may result in a NULL pointer dereference on 64-bit systems. (CVE-2021-31871)

- An issue was discovered in klibc before 2.0.9. Multiple possible integer overflows in the cpio command on 32-bit systems may result in a buffer overflow or other security impact. (CVE-2021-31872)

- An issue was discovered in klibc before 2.0.9. Additions in the malloc() function may result in an integer overflow and a subsequent heap buffer overflow. (CVE-2021-31873)

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

Solution

Upgrade the klibc packages.

For Debian 9 stretch, these problems have been fixed in version 2.0.4-9+deb9u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989505

https://security-tracker.debian.org/tracker/source-package/klibc

https://www.debian.org/lts/security/2021/dla-2695

https://security-tracker.debian.org/tracker/CVE-2021-31870

https://security-tracker.debian.org/tracker/CVE-2021-31871

https://security-tracker.debian.org/tracker/CVE-2021-31872

https://security-tracker.debian.org/tracker/CVE-2021-31873

https://packages.debian.org/source/stretch/klibc

Plugin Details

Severity: Critical

ID: 151361

File Name: debian_DLA-2695.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/3/2021

Updated: 7/3/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2021-31873

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/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:debian:debian_linux:libklibc-dev, p-cpe:/a:debian:debian_linux:libklibc, p-cpe:/a:debian:debian_linux:klibc-utils, cpe:/o:debian:debian_linux:9.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 6/28/2021

Vulnerability Publication Date: 4/30/2021

Reference Information

CVE: CVE-2021-31870, CVE-2021-31871, CVE-2021-31872, CVE-2021-31873