A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 6
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Tigervnc Tigervnc
cpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:*
|
— | — |
|
X.Org X_Server
cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*
|
— |
21.1.16
|
|
X.Org Xwayland
cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*
|
— |
24.1.6
|
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
|
— | — |