cve.bz

CVE-2021-41160 Out-of-bounds Write

8.8 highEPSS 1.7%

High (8.8). EPSS 1.7% estimated probability of exploitation activity in the next 30 days.

On this page
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a malicious server might trigger out of bound writes in a connected client. Connections using GDI or SurfaceCommands to send graphics updates to the client might send `0` width/height or out of bound rectangles to trigger out of bound writes. With `0` width or heigth the memory allocation will be `0` but the missing bounds checks allow writing to the pointer at this (not allocated) region. This issue has been patched in FreeRDP 2.4.1.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.7% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41160 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41160?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41160?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41160 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freerdp:freerdpbefore 2.4.1
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10freerdp22.3.0+dfsg1-2+deb10u4DLA-3654-1
Debian11freerdp22.3.0+dfsg1-2+deb11u2DLA-4053-1
Debian12freerdp22.4.1+dfsg1-1DEBIAN-CVE-2021-41160
Ubuntu16.04:LTS, 18.04:LTSfreerdpno fix listedUBUNTU-CVE-2021-41160
Ubuntu18.04:LTSfreerdp22.2.0+dfsg1-0ubuntu0.18.04.2UBUNTU-CVE-2021-41160 USN-5154-1
Ubuntu20.04:LTSfreerdp22.2.0+dfsg1-0ubuntu0.20.04.2UBUNTU-CVE-2021-41160 USN-5154-1
Ubuntu22.04:LTSfreerdp22.3.0+dfsg1-2ubuntu2UBUNTU-CVE-2021-41160
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationfreerdp, libwinpr, freerdp-libs and 3 more0:2.1.1-5.el7_9RHSA-2021:4619
Red Hatenterprise_linux:8::appstreamfreerdp, libwinpr, freerdp-libs and 5 more2:2.2.0-7.el8_5RHSA-2021:4622
Red Hatenterprise_linux:8::crbfreerdp-devel, freerdp-debuginfo, libwinpr-debuginfo and 2 more2:2.2.0-7.el8_5RHSA-2021:4622
Red Hatrhel_eus:8.1::appstreamfreerdp, libwinpr, freerdp-libs and 5 more2:2.0.0-46.rc4.el8_1.5RHSA-2021:4620
Red Hatrhel_eus:8.1::crbfreerdp-devel, freerdp-debuginfo, libwinpr-debuginfo and 2 more2:2.0.0-46.rc4.el8_1.5RHSA-2021:4620
Red Hatrhel_eus:8.2::appstreamfreerdp, libwinpr, freerdp-libs and 5 more2:2.0.0-46.rc4.el8_2.5RHSA-2021:4621
Red Hatrhel_eus:8.2::crbfreerdp-devel, freerdp-debuginfo, libwinpr-debuginfo and 2 more2:2.0.0-46.rc4.el8_2.5RHSA-2021:4621
Red Hatrhel_eus:8.4::appstreamfreerdp, libwinpr, freerdp-libs and 5 more2:2.2.0-6.el8_4RHSA-2021:4623
Red Hatrhel_eus:8.4::crbfreerdp-devel, freerdp-debuginfo, libwinpr-debuginfo and 2 more2:2.2.0-6.el8_4RHSA-2021:4623
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Workstation Extension 15 SP4freerdp2.4.0-150400.3.6.1SUSE-SU-2022:2993-1
openSUSELeap 15.4freerdp2.4.0-150400.3.6.1SUSE-SU-2022:2993-1
openSUSETumbleweedfreerdp22.4.1-1.1openSUSE-SU-2024:11591-1
AlmaLinux8freerdp, libwinpr, freerdp-libs and 2 more2:2.2.0-7.el8_5ALSA-2021:4622
Rocky Linux8freerdp2:2.2.0-7.el8_5RLSA-2021:4622
Alpinev3.15, v3.16, v3.17 and 4 morefreerdp2.4.1-r0ALPINE-CVE-2021-41160
Alpinev3.22, v3.23, v3.24freerdp, freerdp22.4.1-r0ALPINE-CVE-2021-41160

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7freerdp-0:2.1.1-5.el7_9Fixed 2021-11-11RHSA-2021:4619
Red Hat Enterprise Linux 8freerdp-2:2.2.0-7.el8_5Fixed 2021-11-11RHSA-2021:4622
Red Hat Enterprise Linux 8.1 Extended Update Supportfreerdp-2:2.0.0-46.rc4.el8_1.5Fixed 2021-11-11RHSA-2021:4620
Red Hat Enterprise Linux 8.2 Extended Update Supportfreerdp-2:2.0.0-46.rc4.el8_2.5Fixed 2021-11-11RHSA-2021:4621
Red Hat Enterprise Linux 8.4 Extended Update Supportfreerdp-2:2.2.0-6.el8_4Fixed 2021-11-11RHSA-2021:4623
Red Hat Enterprise Linux 6freerdpNot affected
Red Hat Enterprise Linux 9freerdpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41160.

References

Check your stackJSON