Heap-based buffer overflow in SANE Backends - CVE-2023-46052

 

Heap-based buffer overflow in SANE Backends - CVE-2023-46052

Published: July 9, 2024


Vulnerability identifier: #VU93878
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-46052
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error within the init_options() function in backend/test.c. A local user can pass a specially crafted configuration file to the application, trigger a heap-based buffer overflow and crash it.


Affected software

SANE Backends
openEuler
sane-backends
sane-backends-drivers-cameras
sane-backends-debugsource
sane-backends-debuginfo
sane-backends-drivers-scanners
sane-backends-daemon
sane-backends-devel
sane-backends-libs
sane-backends-help

How to mitigate CVE-2023-46052

Install updates from vendor's website.

SANE Backends - update to 1.3.0
sane-backends - update to 1.0.28-12
sane-backends-drivers-cameras - update to 1.0.28-12
sane-backends-debugsource - update to 1.0.28-12
sane-backends-debuginfo - update to 1.0.28-12
sane-backends-drivers-scanners - update to 1.0.28-12
sane-backends-daemon - update to 1.0.28-12
sane-backends-devel - update to 1.0.28-12
sane-backends-libs - update to 1.0.28-12
sane-backends-help - update to 1.0.28-12

External References

Related Security Bulletins