Improper Handling of Exceptional Conditions Affecting xrdp package, versions <0.9.23-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE321-XRDP-8490177
  • published6 Dec 2024
  • disclosed30 Aug 2023

Introduced: 30 Aug 2023

CVE-2023-40184  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade Alpine:3.21 xrdp to version 0.9.23-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xrdp package and not the xrdp package as distributed by Alpine. See How to fix? for Alpine:3.21 relevant fixed versions and status.

xrdp is an open source remote desktop protocol (RDP) server. In versions prior to 0.9.23 improper handling of session establishment errors allows bypassing OS-level session restrictions. The auth_start_session function can return non-zero (1) value on, e.g., PAM error which may result in in session restrictions such as max concurrent sessions per user by PAM (ex ./etc/security/limits.conf) to be bypassed. Users (administrators) don't use restrictions by PAM are not affected. This issue has been addressed in release version 0.9.23. Users are advised to upgrade. There are no known workarounds for this issue.

CVSS Scores

version 3.1