CVE-2021-36158
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to...
CVE-2021-36158 is a medium vulnerability (CVSS 5.9) in Alpinelinux Aports, published July 5, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.35%, the 28th percentile. Fixed in xrdp 0.9.11-r1.
- Severity
- 5.9 MediumCVSS 3.1, NVD
- Exploit chance
- 0.35%EPSS, 28th percentile
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
0.9.11-r1xrdp +13 more
Description
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
xrdpAlpine:v3.11 | before 0.9.11-r1 | 0.9.11-r1 |
xrdpAlpine:v3.12 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.13 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.14 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.15 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.16 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.17 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.18 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.19 | before 0.9.15-r1 | 0.9.15-r1 |
xrdpAlpine:v3.20 | before 0.9.15-r1 | 0.9.15-r1 |
What each source reports
NVD Score used 5.9
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
- Record
CVE-2021-36158- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-312
- Updated
- 2026-11-02
CVE ListNo score
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
- Record
CVE-2021-36158- Updated
- 2026-11-02
EUVDEUVD-2021-22782No score
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
- Record
EUVD-2021-22782- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9245-rjx8-r879No score
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to...
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
- Record
GHSA-9245-rjx8-r879- Weakness
- CWE-312
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-36158 5.9
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
- Record
ALPINE-CVE-2021-36158- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSV 5.9
In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-generated RSA certificates and private keys are used.
- Record
CVE-2021-36158- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.