Bug 1854847 (CVE-2020-11096)
| Summary: | CVE-2020-11096 freerdp: out-of-bound read in update_read_cache_bitmap_v3_order | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Dhananjay Arunesh <darunesh> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | mads, negativo17, oholy, pahan |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | freerdp 2.1.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 20:34:06 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: | 1854848, 1854849, 1855883, 1855884 | ||
| Bug Blocks: | 1854906 | ||
|
Description
Dhananjay Arunesh
2020-07-08 11:12:11 UTC
Created freerdp tracking bugs for this issue: Affects: epel-all [bug 1854849] Affects: fedora-all [bug 1854848] Technical Summary: The static buffers CBR2_BPP[], BPP_BMF[], etc... in libfreerdp/core/orders.c, could potentially be accessed out-of-bounds in various functions, including update_read_cache_bitmap_v3_order(). To remedy this, the patch replaces these static arrays with getter functions that prevent out-of-bounds reads and then modifies the callers to use the getters instead of direct accesses to the static buffers. In the case of update_read_cache_bitmap_v3_order(), an incorrect flags value would then be used to set bitsPerPixelId which would in turn be used to index CBR23_BPP, causing an out-of-bounds read of that array. Mitigation: Do not enable the +bitmap-cache option in the freerdp client. Alternatively, the bitmap-cache can be explicitly disabled with the -bitmap-cache commandline option. This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:1849 https://access.redhat.com/errata/RHSA-2021:1849 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-11096 |