{"id":"CVE-2021-36158","aliases":["ALPINE-CVE-2021-36158","EUVD-2021-22782","GHSA-9245-rjx8-r879"],"status":"published","title":"In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to...","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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00348,"percentile":0.28728,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-312"],"published":"2021-07-05T22:36:13Z","modified":"2026-11-03T06:31:43Z","fixes":[{"ecosystem":"Alpine:v3.11","package":"xrdp","fixed_in":["0.9.11-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.12","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.13","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.14","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"xrdp","fixed_in":["0.9.15-r1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.11","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.11-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.12","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.13","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"xrdp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.15-r1"}]}]}],"products":[{"vendor":"alpinelinux","product":"aports"}],"references":[{"url":"https://gitlab.alpinelinux.org/alpine/aports/-/issues/12811","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36158"},{"url":"https://github.com/advisories/GHSA-9245-rjx8-r879"},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-36158","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-36158","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.","status":"published","published":"2021-07-05T22:36:13Z","modified":"2024-08-04T00:47:43.855Z","updated_at":"2026-11-02T14:33:05.989686Z"}],"euvd":[{"id":"EUVD-2021-22782","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.","status":"published","published":"2021-07-05T22:36:13Z","modified":"2024-08-04T00:47:43Z","updated_at":"2026-11-03T03:24:29.877227Z"}],"ghsa":[{"id":"GHSA-9245-rjx8-r879","title":"In the xrdp package (in branches through 3.14) for Alpine Linux, RDP sessions are vulnerable to...","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.","status":"published","published":"2022-05-24T19:06:58Z","modified":"2023-01-30T05:00:38Z","cwes":["CWE-312"],"updated_at":"2026-11-02T14:46:14.46933Z"}],"nvd":[{"id":"CVE-2021-36158","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.","status":"published","published":"2021-07-05T23:15:07.367Z","modified":"2026-06-17T03:58:25.967Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-312"],"updated_at":"2026-11-02T14:06:55.259633Z"}],"osv":[{"id":"ALPINE-CVE-2021-36158","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.","status":"published","published":"2021-07-05T23:15:07.367Z","modified":"2026-11-03T06:31:43.573845141Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-03T07:18:15.355745Z"},{"id":"CVE-2021-36158","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.","status":"published","published":"2021-07-05T23:15:07.367Z","modified":"2026-10-28T10:45:24.110350517Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.434873Z"}]}}
