Bug 1835382 (CVE-2020-11042)
Summary: | CVE-2020-11042 freerdp: out-of-bounds read in update_read_icon_info function | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | mads, negativo17, oholy, pahan |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | freerdp 2.0.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-09-29 22:00:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1835383, 1835384, 1835385, 1836381, 1836382 | ||
Bug Blocks: | 1835410 |
Description
Guilherme de Almeida Suckevicz
2020-05-13 17:36:11 UTC
Created freerdp tracking bugs for this issue: Affects: epel-all [bug 1835385] Affects: fedora-all [bug 1835383] Created freerdp1.2 tracking bugs for this issue: Affects: fedora-all [bug 1835384] Technical details =================== In window.c of FreeRDP's libfreerdp, the update_read_icon_info() routine reads from a stream. In an attempt to prevent from overflowing the stream buffer, the function calls Stream_GetRemainingLength(s). However, it only checks the length against two of the reads that it intends to make (iconInfo->cbBitsMask + iconInfo->cbBitsColor). The third read is into iconInfo->ColorTable, the length of which is never checked. Thus, if the iconInfo->cbColorTable is too large, an out-of-bounds read can occur where the program attempts to read past the end of the stream buffer on the heap, into iconInfo->ColorTable. This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:4031 https://access.redhat.com/errata/RHSA-2020:4031 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-11042 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:4647 https://access.redhat.com/errata/RHSA-2020:4647 |