File Descriptor Leak Affecting libx11 package, versions [1.0.2,1.0.99.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (27th 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-UNMANAGED-LIBX11-2371843
  • published26 Jan 2022
  • disclosed3 Nov 2006
  • creditUnknown

Introduced: 3 Nov 2006

CVE-2006-5397  (opens in a new tab)
CWE-403  (opens in a new tab)

How to fix?

Upgrade libx11 to version 1.0.99.2 or higher.

Overview

Affected versions of this package are vulnerable to File Descriptor Leak. The Xinput module (modules/im/ximcp/imLcIm.c) in X.Org libX11 1.0.2 and 1.0.3 opens a file for reading twice using the same file descriptor, which causes a file descriptor leak that allows local users to read files specified by the XCOMPOSEFILE environment variable via the duplicate file descriptor.

References

CVSS Base Scores

version 3.1