{"api_version":"1","generated_at":"2026-04-23T07:57:30+00:00","cve":"CVE-2021-41159","urls":{"html":"https://cve.report/CVE-2021-41159","api":"https://cve.report/api/cve/CVE-2021-41159.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41159","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41159"},"summary":{"title":"CVE-2021-41159","description":"FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. All FreeRDP clients prior to version 2.4.1 using gateway connections (`/gt:rpc`) fail to validate input data. A malicious gateway might allow client memory to be written out of bounds. This issue has been resolved in version 2.4.1. If you are unable to update then use `/gt:http` rather than /gt:rdp connections if possible or use a direct connection without a gateway.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-10-21 19:15:00","updated_at":"2023-11-07 03:38:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"https://security.gentoo.org/glsa/202210-24","name":"GLSA-202210-24","refsource":"GENTOO","tags":[],"title":"FreeRDP: Multiple Vulnerabilities (GLSA 202210-24) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vh34-m9h7-95xq","name":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vh34-m9h7-95xq","refsource":"CONFIRM","tags":[],"title":"Improper client input validation for gateway connections allows to overwrite memory · Advisory · FreeRDP/FreeRDP · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/","name":"FEDORA-2021-2c25f03d0b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: freerdp-2.4.1-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/","name":"FEDORA-2021-2c25f03d0b","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: freerdp-2.4.1-1.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41159","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41159","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"41159","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41159","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"freerdp","cpe5":"freerdp","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-41159","qid":"159533","title":"Oracle Enterprise Linux Security Update for freerdp (ELSA-2021-4619)"},{"cve":"CVE-2021-41159","qid":"159534","title":"Oracle Enterprise Linux Security Update for freerdp (ELSA-2021-4622)"},{"cve":"CVE-2021-41159","qid":"183589","title":"Debian Security Update for freerdp2 (CVE-2021-41159)"},{"cve":"CVE-2021-41159","qid":"198578","title":"Ubuntu Security Notification for FreeRDP Vulnerabilities (USN-5154-1)"},{"cve":"CVE-2021-41159","qid":"239874","title":"Red Hat Update for freerdp (RHSA-2021:4619)"},{"cve":"CVE-2021-41159","qid":"239875","title":"Red Hat Update for freerdp (RHSA-2021:4623)"},{"cve":"CVE-2021-41159","qid":"239876","title":"Red Hat Update for freerdp (RHSA-2021:4622)"},{"cve":"CVE-2021-41159","qid":"239877","title":"Red Hat Update for freerdp (RHSA-2021:4621)"},{"cve":"CVE-2021-41159","qid":"239878","title":"Red Hat Update for freerdp (RHSA-2021:4620)"},{"cve":"CVE-2021-41159","qid":"257123","title":"CentOS Security Update for freerdp (CESA-2021:4619)"},{"cve":"CVE-2021-41159","qid":"282157","title":"Fedora Security Update for freerdp (FEDORA-2021-2c25f03d0b)"},{"cve":"CVE-2021-41159","qid":"353128","title":"Amazon Linux Security Advisory for freerdp : ALAS2-2022-1735"},{"cve":"CVE-2021-41159","qid":"354389","title":"Amazon Linux Security Advisory for freerdp : ALAS2022-2022-082"},{"cve":"CVE-2021-41159","qid":"376892","title":"Alibaba Cloud Linux Security Update for freerdp (ALINUX3-SA-2022:0002)"},{"cve":"CVE-2021-41159","qid":"376982","title":"Alibaba Cloud Linux Security Update for freerdp (ALINUX2-SA-2021:0064)"},{"cve":"CVE-2021-41159","qid":"502086","title":"Alpine Linux Security Update for freerdp"},{"cve":"CVE-2021-41159","qid":"710666","title":"Gentoo Linux FreeRDP Multiple Vulnerabilities (GLSA 202210-24)"},{"cve":"CVE-2021-41159","qid":"752509","title":"SUSE Enterprise Linux Security Update for freerdp (SUSE-SU-2022:2890-1)"},{"cve":"CVE-2021-41159","qid":"753106","title":"SUSE Enterprise Linux Security Update for freerdp (SUSE-SU-2022:2891-1)"},{"cve":"CVE-2021-41159","qid":"753146","title":"SUSE Enterprise Linux Security Update for freerdp (SUSE-SU-2022:2993-1)"},{"cve":"CVE-2021-41159","qid":"940060","title":"AlmaLinux Security Update for freerdp (ALSA-2021:4622)"},{"cve":"CVE-2021-41159","qid":"960007","title":"Rocky Linux Security Update for freerdp (RLSA-2021:4622)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41159","STATE":"PUBLIC","TITLE":"Improper client input validation for FreeRDP gateway connections allows to overwrite memory"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"FreeRDP","version":{"version_data":[{"version_value":"< 2.4.1"}]}}]},"vendor_name":"FreeRDP"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. All FreeRDP clients prior to version 2.4.1 using gateway connections (`/gt:rpc`) fail to validate input data. A malicious gateway might allow client memory to be written out of bounds. This issue has been resolved in version 2.4.1. If you are unable to update then use `/gt:http` rather than /gt:rdp connections if possible or use a direct connection without a gateway."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-787: Out-of-bounds Write"}]}]},"references":{"reference_data":[{"name":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vh34-m9h7-95xq","refsource":"CONFIRM","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vh34-m9h7-95xq"},{"refsource":"FEDORA","name":"FEDORA-2021-2c25f03d0b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DWJXQOWKNR7O5HM2HFJOM4GBUFPTE3RG/"},{"refsource":"GENTOO","name":"GLSA-202210-24","url":"https://security.gentoo.org/glsa/202210-24"}]},"source":{"advisory":"GHSA-vh34-m9h7-95xq","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-10-21 19:15:00","lastModifiedDate":"2023-11-07 03:38:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*","versionEndExcluding":"2.4.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"41159","Ordinal":"217052","Title":"CVE-2021-41159","CVE":"CVE-2021-41159","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"41159","Ordinal":"1","NoteData":"FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. All FreeRDP clients prior to version 2.4.1 using gateway connections (`/gt:rpc`) fail to validate input data. A malicious gateway might allow client memory to be written out of bounds. This issue has been resolved in version 2.4.1. If you are unable to update then use `/gt:http` rather than /gt:rdp connections if possible or use a direct connection without a gateway.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"41159","Ordinal":"2","NoteData":"2021-10-21","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"41159","Ordinal":"3","NoteData":"2021-11-16","Type":"Other","Title":"Modified"}]}}}