Bug 1850564 (CVE-2020-12864) - CVE-2020-12864 sane-backends: Reading uninitialized data in epsonds_net_read in epsonds-net.c
Summary: CVE-2020-12864 sane-backends: Reading uninitialized data in epsonds_net_read ...
Keywords:
Status: NEW
Alias: CVE-2020-12864
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1850565 1850567 1852669
Blocks: 1848100
TreeView+ depends on / blocked
 
Reported: 2020-06-24 13:45 UTC by Pedro Sampaio
Modified: 2023-07-07 08:31 UTC (History)
4 users (show)

Fixed In Version: sane-backends 1.0.30
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2020-06-24 13:45:30 UTC
A flaw was found in sane-backends 1.0.30. A issue in the epsonds_net_read function in epsonds-net.c permits reading of uninitialized data leading to disclosure of information.

Upstream issue:

https://gitlab.com/sane-project/backends/-/issues/279#issue-4-ghsl-2020-081-reading-uninitialized-data-in-epsonds_net_read

References:

https://gitlab.com/sane-project/backends/-/releases

Comment 1 Pedro Sampaio 2020-06-24 13:45:55 UTC
Created mingw-sane-backends tracking bugs for this issue:

Affects: fedora-all [bug 1850567]


Created sane-backends tracking bugs for this issue:

Affects: fedora-all [bug 1850565]

Comment 2 Huzaifa S. Sidhpurwala 2020-07-01 03:56:50 UTC
Statement:

The vulnerable code is a part of "driver for Epson ESC/I-2 scanners" which was first introduced in sane-backends-1.0.25. (via https://gitlab.com/sane-project/backends/-/commit/d72f4663c0ad6e6f779c15c8baf5f92b675ae19a)  Therefore only versions of sane-backends shipped with Red Hat Enterprise Linux 8 is affected by this flaw.

Comment 4 Huzaifa S. Sidhpurwala 2020-07-01 04:43:05 UTC
Mitigation:

This flaw can be mitigated by limiting network scanner discovery to a trusted subnet via the "net" configuration in the "/etc/sane.d/epsonds.conf" configuration file. Also automatic network scanner discovery can be turned off by commenting out the line "net autodiscovery" in the same configuration file.


Note You need to log in before you can comment on or make changes to this bug.