Out-of-bounds Write Affecting libwinpr package, versions <0:2.1.1-5.el7_9
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RHEL7-LIBWINPR-1766609
- published 22 Oct 2021
- disclosed 21 Oct 2021
Introduced: 21 Oct 2021
CVE-2021-41160 Open this link in a new tabHow to fix?
Upgrade RHEL:7 libwinpr to version 0:2.1.1-5.el7_9 or higher.
This issue was patched in RHSA-2021:4619.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libwinpr package and not the libwinpr package as distributed by RHEL.
See How to fix? for RHEL:7 relevant fixed versions and status.
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.
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7c9r-6r2q-93qg
- https://access.redhat.com/security/cve/CVE-2021-41160
- https://access.redhat.com/errata/RHSA-2021:4619
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WIZUPVRGCWUDAPDOQVUGUIYUO7UWKMXX/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZXCR73EDVPLI6TRWRAWJCJ7OBYDKBB74/
- https://security.gentoo.org/glsa/202210-24
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WIZUPVRGCWUDAPDOQVUGUIYUO7UWKMXX/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXCR73EDVPLI6TRWRAWJCJ7OBYDKBB74/
- https://lists.debian.org/debian-lts-announce/2023/11/msg00010.html