CVE-2021-3472 - Integer Underflow (Wrap or Wraparound)

Severity

78%

Complexity

18%

Confidentiality

98%

A flaw was found in xorg-x11-server in versions before 1.20.11. An integer underflow can occur in xserver which can lead to a local privilege escalation. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

CVSS 3.1 Base Score 7.8. CVSS Attack Vector: local. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

CVSS 2.0 Base Score 7.2. CVSS Attack Vector: local. CVSS Attack Complexity: low. CVSS Vector: (AV:L/AC:L/Au:N/C:C/I:C/A:C).

Demo Examples

Integer Underflow (Wrap or Wraparound)

CWE-191

The following example subtracts from a 32 bit signed integer.


               
}
return 0;

The example has an integer underflow. The value of i is already at the lowest negative value possible, so after subtracting 1, the new value of i is 2147483647.

Overview

First reported 3 years ago

2021-04-26 15:15:00

Last updated 3 years ago

2021-05-19 12:54:00

Affected Software

Fedora 32

32

Debian Linux 9.0

9.0

Red Hat Enterprise Linux (RHEL) 7.0 (7)

7.0

Red Hat Enterprise Linux 8.0

8.0

References

https://lists.x.org/archives/xorg-announce/2021-April/003080.html

https://seclists.org/oss-sec/2021/q2/20

https://www.zerodayinitiative.com/advisories/ZDI-21-463/

https://bugzilla.redhat.com/show_bug.cgi?id=1944167

DSA-4893

https://www.tenable.com/plugins/nessus/148701

[oss-security] 20210413 X.Org server security advisory: April 13, 2021

FEDORA-2021-139f3fc21c

FEDORA-2021-0e2981e013

[debian-lts-announce] 20210415 [SECURITY] [DLA 2627-1] xorg-server security update

FEDORA-2021-112d542766

FEDORA-2021-f7b4c97879

https://gitlab.freedesktop.org/xorg/xserver/-/commit/7aaf54a1884f71dc363f0b884e57bcb67407a6cd

GLSA-202104-02

https://lists.x.org/archives/xorg-announce/2021-April/003080.html

Mailing List, Patch, Vendor Advisory

https://seclists.org/oss-sec/2021/q2/20

Mailing List, Patch, Third Party Advisory

https://www.zerodayinitiative.com/advisories/ZDI-21-463/

Third Party Advisory, VDB Entry

https://bugzilla.redhat.com/show_bug.cgi?id=1944167

Issue Tracking, Patch, Third Party Advisory

DSA-4893

Third Party Advisory

https://www.tenable.com/plugins/nessus/148701

Third Party Advisory

[oss-security] 20210413 X.Org server security advisory: April 13, 2021

Mailing List, Patch, Third Party Advisory

FEDORA-2021-139f3fc21c

Mailing List, Third Party Advisory

FEDORA-2021-0e2981e013

Mailing List, Third Party Advisory

[debian-lts-announce] 20210415 [SECURITY] [DLA 2627-1] xorg-server security update

Mailing List, Third Party Advisory

FEDORA-2021-112d542766

Mailing List, Third Party Advisory

FEDORA-2021-f7b4c97879

Mailing List, Third Party Advisory

https://gitlab.freedesktop.org/xorg/xserver/-/commit/7aaf54a1884f71dc363f0b884e57bcb67407a6cd

Patch, Third Party Advisory

GLSA-202104-02

Third Party Advisory

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.