CVE-2023-3138

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-3138
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3138.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-3138
Related
Published
2023-06-28T21:15:10Z
Modified
2025-04-29T08:06:38.879215Z
Downstream
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A vulnerability was found in libX11. The security flaw occurs because the functions in src/InitExt.c in libX11 do not check that the values provided for the Request, Event, or Error IDs are within the bounds of the arrays that those functions write to, using those IDs as array indexes. They trust that they were called with values provided by an Xserver adhering to the bounds specified in the X11 protocol, as all X servers provided by X.Org do. As the protocol only specifies a single byte for these values, an out-of-bounds value provided by a malicious server (or a malicious proxy-in-the-middle) can only overwrite other portions of the Display structure and not write outside the bounds of the Display structure itself, possibly causing the client to crash with this memory corruption.

References

Affected packages

Alpine:v3.15 / libx11

Package

Name
libx11
Purl
pkg:apk/alpine/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.3.1-r1

Affected versions

1.*

1.1.99.2-r0
1.1.99.2-r1
1.2-r0
1.2.1-r0
1.2.2-r0
1.3-r0
1.3.2-r0
1.3.3-r0
1.3.3-r1
1.3.4-r0
1.3.5-r0
1.3.6-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.3-r1
1.4.3-r2
1.4.3-r3
1.4.4-r0
1.4.99.1-r0
1.4.99.901-r0
1.5.0-r0
1.5.99.902-r0
1.6.0-r0
1.6.1-r0
1.6.2-r0
1.6.2-r1
1.6.3-r0
1.6.3-r1
1.6.3-r2
1.6.4-r0
1.6.5-r0
1.6.5-r1
1.6.5-r2
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.8-r1
1.6.9-r0
1.6.10-r0
1.6.11-r0
1.6.12-r0
1.7.0-r0
1.7.1-r0
1.7.2-r0
1.7.3-r0
1.7.3.1-r0

Alpine:v3.16 / libx11

Package

Name
libx11
Purl
pkg:apk/alpine/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8-r1

Affected versions

1.*

1.1.99.2-r0
1.1.99.2-r1
1.2-r0
1.2.1-r0
1.2.2-r0
1.3-r0
1.3.2-r0
1.3.3-r0
1.3.3-r1
1.3.4-r0
1.3.5-r0
1.3.6-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.3-r1
1.4.3-r2
1.4.3-r3
1.4.4-r0
1.4.99.1-r0
1.4.99.901-r0
1.5.0-r0
1.5.99.902-r0
1.6.0-r0
1.6.1-r0
1.6.2-r0
1.6.2-r1
1.6.3-r0
1.6.3-r1
1.6.3-r2
1.6.4-r0
1.6.5-r0
1.6.5-r1
1.6.5-r2
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.8-r1
1.6.9-r0
1.6.10-r0
1.6.11-r0
1.6.12-r0
1.7.0-r0
1.7.1-r0
1.7.2-r0
1.7.3-r0
1.7.3.1-r0
1.7.5-r0
1.8-r0

Alpine:v3.17 / libx11

Package

Name
libx11
Purl
pkg:apk/alpine/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.4-r1

Affected versions

1.*

1.1.99.2-r0
1.1.99.2-r1
1.2-r0
1.2.1-r0
1.2.2-r0
1.3-r0
1.3.2-r0
1.3.3-r0
1.3.3-r1
1.3.4-r0
1.3.5-r0
1.3.6-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.3-r1
1.4.3-r2
1.4.3-r3
1.4.4-r0
1.4.99.1-r0
1.4.99.901-r0
1.5.0-r0
1.5.99.902-r0
1.6.0-r0
1.6.1-r0
1.6.2-r0
1.6.2-r1
1.6.3-r0
1.6.3-r1
1.6.3-r2
1.6.4-r0
1.6.5-r0
1.6.5-r1
1.6.5-r2
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.8-r1
1.6.9-r0
1.6.10-r0
1.6.11-r0
1.6.12-r0
1.7.0-r0
1.7.1-r0
1.7.2-r0
1.7.3-r0
1.7.3.1-r0
1.7.5-r0
1.8-r0
1.8.1-r0
1.8.1-r1
1.8.2-r0
1.8.3-r0
1.8.3-r1
1.8.4-r0

Alpine:v3.18 / libx11

Package

Name
libx11
Purl
pkg:apk/alpine/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.4-r4

Affected versions

1.*

1.1.99.2-r0
1.1.99.2-r1
1.2-r0
1.2.1-r0
1.2.2-r0
1.3-r0
1.3.2-r0
1.3.3-r0
1.3.3-r1
1.3.4-r0
1.3.5-r0
1.3.6-r0
1.4.0-r0
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.3-r0
1.4.3-r1
1.4.3-r2
1.4.3-r3
1.4.4-r0
1.4.99.1-r0
1.4.99.901-r0
1.5.0-r0
1.5.99.902-r0
1.6.0-r0
1.6.1-r0
1.6.2-r0
1.6.2-r1
1.6.3-r0
1.6.3-r1
1.6.3-r2
1.6.4-r0
1.6.5-r0
1.6.5-r1
1.6.5-r2
1.6.6-r0
1.6.7-r0
1.6.8-r0
1.6.8-r1
1.6.9-r0
1.6.10-r0
1.6.11-r0
1.6.12-r0
1.7.0-r0
1.7.1-r0
1.7.2-r0
1.7.3-r0
1.7.3.1-r0
1.7.5-r0
1.8-r0
1.8.1-r0
1.8.1-r1
1.8.2-r0
1.8.2-r1
1.8.2-r2
1.8.3-r0
1.8.3-r1
1.8.4-r0
1.8.4-r1
1.8.4-r2
1.8.4-r3

Debian:11 / libx11

Package

Name
libx11
Purl
pkg:deb/debian/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.7.2-1+deb11u1

Affected versions

2:1.*

2:1.7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libx11

Package

Name
libx11
Purl
pkg:deb/debian/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.8.4-2+deb12u1

Affected versions

2:1.*

2:1.8.4-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libx11

Package

Name
libx11
Purl
pkg:deb/debian/libx11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:1.8.6-1

Affected versions

2:1.*

2:1.8.4-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}