Bug 1854850 (CVE-2020-11095)
Summary: | CVE-2020-11095 freerdp: out of bound reads resulting in accessing memory location outside of static array PRIMARY_DRAWING_ORDER_FIELD_BYTES | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Dhananjay Arunesh <darunesh> |
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.1.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-18 20:34:09 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: | 1854852, 1854853, 1855460, 1855461 | ||
Bug Blocks: | 1854906 |
Description
Dhananjay Arunesh
2020-07-08 11:17:22 UTC
Created freerdp tracking bugs for this issue: Affects: epel-all [bug 1854853] Affects: fedora-all [bug 1854852] in libfreerdp/core/update.c's update_write_order_info(), update_prepare_order_info, and libfreerdp/core/orders.c's update_recv_primary_order() it was possible for update->primary to be outside the bounds of the PRIMARY_DRAWING_ORDER_FIELD_BYTES static array, referenced with PRIMARY_DRAWING_ORDER_FIELD_BYTES[orderInfo->orderType], which could cause an out-of-bounds read due to lack of bounds checking. The patch replaces the static array with a getter function that uses a switch-case to prevent this. The flaw is present in libfreerdp-core/orders.c for freerdp-1.0.2. Note this flaw applies to the freerdp CLIENT code. 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-11095 |