Debian DLA-2825-1 : libmodbus - LTS security update

critical Nessus Plugin ID 155675

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-2825 advisory.

- An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the MODBUS_FC_WRITE_MULTIPLE_COILS case, aka VD-1302. (CVE-2019-14462)

- An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the MODBUS_FC_WRITE_MULTIPLE_REGISTERS case, aka VD-1301. (CVE-2019-14463)

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 libmodbus packages.

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

See Also

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

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

https://security-tracker.debian.org/tracker/CVE-2019-14462

https://security-tracker.debian.org/tracker/CVE-2019-14463

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

Plugin Details

Severity: Critical

ID: 155675

File Name: debian_DLA-2825.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/23/2021

Updated: 1/20/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2019-14463

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libmodbus-dev, cpe:/o:debian:debian_linux:9.0, p-cpe:/a:debian:debian_linux:libmodbus5

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/22/2021

Vulnerability Publication Date: 7/31/2019

Reference Information

CVE: CVE-2019-14462, CVE-2019-14463