Debian DLA-3675-1 : zbar - LTS security update

critical Nessus Plugin ID 186540

Synopsis

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

Description

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

- A heap-based buffer overflow exists in the qr_reader_match_centers function of ZBar 0.23.90. Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner. (CVE-2023-40889)

- A stack-based buffer overflow vulnerability exists in the lookup_sequence function of ZBar 0.23.90.
Specially crafted QR codes may lead to information disclosure and/or arbitrary code execution. To trigger this vulnerability, an attacker can digitally input the malicious QR code, or prepare it to be physically scanned by the vulnerable scanner. (CVE-2023-40890)

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

Solution

Upgrade the zbar packages.

For Debian 10 buster, these problems have been fixed in version 0.22-1+deb10u1.

See Also

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

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

https://www.debian.org/lts/security/2023/dla-3675

https://security-tracker.debian.org/tracker/CVE-2023-40889

https://security-tracker.debian.org/tracker/CVE-2023-40890

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

Plugin Details

Severity: Critical

ID: 186540

File Name: debian_DLA-3675.nasl

Version: 1.0

Type: local

Agent: unix

Published: 12/4/2023

Updated: 12/4/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-40890

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:libbarcode-zbar-perl, p-cpe:/a:debian:debian_linux:libzbar-dev, p-cpe:/a:debian:debian_linux:libzbar0, p-cpe:/a:debian:debian_linux:libzbargtk-dev, p-cpe:/a:debian:debian_linux:libzbargtk0, p-cpe:/a:debian:debian_linux:python-zbar, p-cpe:/a:debian:debian_linux:python-zbarpygtk, p-cpe:/a:debian:debian_linux:zbar-tools, cpe:/o:debian:debian_linux:10.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: 12/4/2023

Vulnerability Publication Date: 8/29/2023

Reference Information

CVE: CVE-2023-40889, CVE-2023-40890