Bug 1850556 (CVE-2020-12861) - CVE-2020-12861 sane-backends: Heap buffer overflow in epsonds_net_read in epsonds-net.c
Summary: CVE-2020-12861 sane-backends: Heap buffer overflow in epsonds_net_read in eps...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-12861
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1850557 1850558 1852665 1852666 1852667 1852668
Blocks: 1848100
TreeView+ depends on / blocked
 
Reported: 2020-06-24 13:36 UTC by Pedro Sampaio
Modified: 2021-02-16 19:47 UTC (History)
4 users (show)

Fixed In Version: sane-backends 1.0.30
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in sane-backends in versions prior to 1.0.30. A heap buffer overflow in epsonds_net_read function could lead to a remote denial of service. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed: 2020-07-14 13:27:51 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:2902 0 None None None 2020-07-14 09:13:15 UTC
Red Hat Product Errata RHSA-2020:2967 0 None None None 2020-07-16 07:30:20 UTC
Red Hat Product Errata RHSA-2020:3045 0 None None None 2020-07-21 14:34:24 UTC

Description Pedro Sampaio 2020-06-24 13:36:28 UTC
A flaw was found in sane-backends before version 1.0.30. A heap buffer overflow in epsonds_net_read function in epsonds-net.c may lead to remote denial of service.

Upstream issue:

https://gitlab.com/sane-project/backends/-/issues/279#issue-3-ghsl-2020-080-heap-buffer-overflow-in-epsonds_net_read

References:

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

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

Affects: fedora-all [bug 1850558]


Created sane-backends tracking bugs for this issue:

Affects: fedora-all [bug 1850557]

Comment 6 errata-xmlrpc 2020-07-14 09:13:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:2902 https://access.redhat.com/errata/RHSA-2020:2902

Comment 7 Product Security DevOps Team 2020-07-14 13:27:51 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-12861

Comment 8 errata-xmlrpc 2020-07-16 07:30:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2020:2967 https://access.redhat.com/errata/RHSA-2020:2967

Comment 9 errata-xmlrpc 2020-07-21 14:34:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions

Via RHSA-2020:3045 https://access.redhat.com/errata/RHSA-2020:3045

Comment 10 Eric Christensen 2020-08-10 16:10:46 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 are affected by this flaw.

Comment 11 Eric Christensen 2020-08-10 16:10:48 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.