Every CVE Search/ Get API key

CVE-2021-36158

In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to...

5.9 MediumFix available

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

0.35%Down 0.1 points since Jul 6, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.3 MediumAV: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
xrdp
Alpine:v3.11
before 0.9.11-r1
0.9.11-r1
xrdp
Alpine:v3.12
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.13
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.14
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.15
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.16
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.17
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.18
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.19
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.20
before 0.9.15-r1
0.9.15-r1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
xrdp
Alpine:v3.21
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.22
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.23
before 0.9.15-r1
0.9.15-r1
xrdp
Alpine:v3.24
before 0.9.15-r1
0.9.15-r1

History

History
RecordedChangedSources
affectedOSV
aliasesEUVD
first indexedCVE 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.

References

MoveEnter Open