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

high Nessus Plugin ID 164684

Synopsis

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

Description

The remote Debian 10 host has packages installed that are affected by a vulnerability as referenced in the dla-3098 advisory.

- A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
(CVE-2022-0367)

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 10 buster, this problem has been fixed in version 3.1.4-2+deb10u2.

See Also

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

https://www.debian.org/lts/security/2022/dla-3098

https://security-tracker.debian.org/tracker/CVE-2022-0367

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

Plugin Details

Severity: High

ID: 164684

File Name: debian_DLA-3098.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/6/2022

Updated: 10/13/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.6

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

CVSS Score Source: CVE-2022-0367

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

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

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

Vulnerability Information

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

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: 9/4/2022

Vulnerability Publication Date: 8/29/2022

Reference Information

CVE: CVE-2022-0367