CVE-2021-36158
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.
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
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 List No 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-22782 No 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-r879 No 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
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 |
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.
In short
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.