Debian DSA-4614-1 : sudo - security update

high Nessus Plugin ID 133417

Synopsis

The remote Debian host is missing a security-related update.

Description

Joe Vennix discovered a stack-based buffer overflow vulnerability in sudo, a program designed to provide limited super user privileges to specific users, triggerable when configured with the 'pwfeedback' option enabled. An unprivileged user can take advantage of this flaw to obtain full root privileges.

Details can be found in the upstream advisory at https://www.sudo.ws/alerts/pwfeedback.html .

Solution

Upgrade the sudo packages.

For the oldstable distribution (stretch), this problem has been fixed in version 1.8.19p1-2.1+deb9u2.

For the stable distribution (buster), exploitation of the bug is prevented due to a change in EOF handling introduced in 1.8.26.

See Also

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

https://www.sudo.ws/alerts/pwfeedback.html

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

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

https://www.debian.org/security/2020/dsa-4614

Plugin Details

Severity: High

ID: 133417

File Name: debian_DSA-4614.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2/3/2020

Updated: 2/13/2020

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

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:sudo, cpe:/o:debian:debian_linux:9.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/1/2020

Vulnerability Publication Date: 1/29/2020

Reference Information

CVE: CVE-2019-18634

DSA: 4614