CVE-2022-23613Privilege escalation on xrdp
xrdp is an open source remote desktop protocol (RDP) server. In affected versions an integer underflow leading to a heap overflow in the sesman server allows any unauthenticated attacker which is able to locally access a sesman server to execute code as root. This vulnerability has been patched in version 0.9.18.1 and above. Users are advised to upgrade. There are no known workarounds.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xrdp | Fix pending | UBUNTU-CVE-2022-23613 | |
| Ubuntu 26.04 | xrdp | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xrdp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-23613 | |
| Ubuntu 22.04 | xrdp | Fix pending | 0.9.17-2ubuntu2+esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-23613 |
| Ubuntu 20.04 | xrdp | Fix pending | 0.9.12-1ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2022-23613 |
| Ubuntu 18.04 | xrdp | Fix pending | 0.9.5-2ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2022-23613 |
| Ubuntu 16.04 | xrdp | Will not fix Ubuntu decided not to fix this in this release | 0.6.1-2ubuntu0.3+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-23613 |
| Ubuntu 14.04 | xrdp | Fix pending | 0.6.0-1ubuntu0.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2022-23613 |
| Debian 14 | xrdp | Fixed | 0.9.17-2.1 | DEBIAN-CVE-2022-23613 |
| Debian 13 | xrdp | Fixed | 0.9.17-2.1 | DEBIAN-CVE-2022-23613 |
| Debian 12 | xrdp | Fixed | 0.9.17-2.1 | DEBIAN-CVE-2022-23613 |
| Alpine Linux 3.24 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.23 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.22 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.21 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.20 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.19 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.18 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.17 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.16 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
| Alpine Linux 3.15 | xrdp | Fixed | 0.9.18.1-r0 | ALPINE-CVE-2022-23613 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- neutrinolabs xrdp: affected: >= 0.9.17, < 0.9.18.1
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-8h98-h426-xf32
- https://github.com/neutrinolabs/xrdp/commit/4def30ab8ea445cdc06832a44c3ec40a506a0ffa
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U3XGFJNQMNXHBD3J7CBM4YURYEDXROWZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K5ONRGARKHGFU2CIEQ7E6M6VJZEM5XWW/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.