Out-of-bounds Read Affecting xrdp package, versions <0.9.23.1-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.09% (40th 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-ALPINE320-XRDP-7015488
  • published23 May 2024
  • disclosed27 Sept 2023

Introduced: 27 Sep 2023

CVE-2023-42822  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 xrdp to version 0.9.23.1-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.20 relevant fixed versions and status.

xrdp is an open source remote desktop protocol server. Access to the font glyphs in xrdp_painter.c is not bounds-checked . Since some of this data is controllable by the user, this can result in an out-of-bounds read within the xrdp executable. The vulnerability allows an out-of-bounds read within a potentially privileged process. On non-Debian platforms, xrdp tends to run as root. Potentially an out-of-bounds write can follow the out-of-bounds read. There is no denial-of-service impact, providing xrdp is running in forking mode. This issue has been addressed in release 0.9.23.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1