Buffer overflow in SANE Backends - CVE-2020-12865

 

Buffer overflow in SANE Backends - CVE-2020-12865

Published: May 20, 2020


Vulnerability identifier: #VU28098
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-12865
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the epsonds component in SANE backends. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

SANE Backends
sane (Alpine package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
sane-backends (Red Hat package)
sane-backends
sane-backends-debugsource
sane-backends-daemon
sane-backends-libs
sane-backends-drivers-cameras
sane-backends-drivers-scanners
sane-backends-debuginfo
sane-backends-devel
sane-backends-help
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Slackware Linux
Opensuse
openEuler

How to mitigate CVE-2020-12865

Install updates from vendor's website.

SANE Backends - update to 1.0.30
sane (Alpine package) - update to 1.0.31-r0
sane-backends (Red Hat package) - addressed in versions 1.0.27-19.el8_0.1, 1.0.27-19.el8_1.1, 1.0.27-19.el8_2.1
sane-backends - update to 1.0.28-10
sane-backends-debugsource - update to 1.0.28-10
sane-backends-daemon - update to 1.0.28-10
sane-backends-libs - update to 1.0.28-10
sane-backends-drivers-cameras - update to 1.0.28-10
sane-backends-drivers-scanners - update to 1.0.28-10
sane-backends-debuginfo - update to 1.0.28-10
sane-backends-devel - update to 1.0.28-10
sane-backends-help - update to 1.0.28-10

External References

Related Security Bulletins