# CVE-2021-36158: In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to man-in-the-middle attacks because pre-gener…

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2021-07-05T22:36:13.000Z
- Modified: 2026-06-17T03:58:25.967Z
- Weaknesses: CWE-312
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- alpinelinux aports: up to 3.14

## Every score

- NVD: 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`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://gitlab.alpinelinux.org/alpine/aports/-/issues/12811> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2021-36158](https://www.cve.org/CVERecord?id=CVE-2021-36158), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-36158](https://nvd.nist.gov/vuln/detail/CVE-2021-36158), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36158 · Whole record: https://cve.day/CVE-2021-36158.json · Rebuilt by cve.day 2026-11-25T22:58:02.432Z
