CVE-2021-3782

Published on: Not Yet Published

Last Modified on: 09/26/2022 10:29:00 PM UTC

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Certain versions of Wayland from Wayland contain the following vulnerability:

An internal reference count is held on the buffer pool, incremented every time a new buffer is created from the pool. The reference count is maintained as an int; on LP64 systems this can cause the reference count to overflow if the client creates a large number of wl_shm buffer objects, or if it can coerce the server to create a large number of external references to the buffer storage. With the reference count overflowing, a use-after-free can be constructed on the wl_shm_pool tracking structure, where values may be incremented or decremented; it may also be possible to construct a limited oracle to leak 4 bytes of server-side memory to the attacking client at a time.

  • CVE-2021-3782 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as CRITICAL severity.

CVSS3 Score: 9.8 - CRITICAL

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVE References

Description Tags Link
Reference count overflow in shm leads to use-after-free (#224) · Issues · wayland / wayland · GitLab gitlab.freedesktop.org
text/html
URL Logo MISC gitlab.freedesktop.org/wayland/wayland/-/issues/224

Related QID Numbers

  • 198941 Ubuntu Security Notification for Wayland Vulnerability (USN-5614-1)
  • 904051 Common Base Linux Mariner (CBL-Mariner) Security Update for wayland (11019)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationWaylandWaylandAllAllAllAll
  • cpe:2.3:a:wayland:wayland:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @vigilance_en [email protected] #Vulnerability of Wayland: reuse after free. vigilance.fr/vulnerability/… Identifiers: #CVE-2021-3782.… twitter.com/i/web/status/1… 2022-09-16 08:09:05
Twitter Icon @CVEreport CVE-2021-3782 : An internal reference count is held on the buffer pool, incremented every time a new buffer is crea… twitter.com/i/web/status/1… 2022-09-23 16:07:47
Twitter Icon @JohnJasonFallow New vulnerability on the NVD: CVE-2021-3782 ift.tt/b68uUnQ 2022-09-23 18:27:06
Twitter Icon @doogsineerg New vulnerability on the NVD: CVE-2021-3782 ift.tt/7FQpArd 2022-09-23 18:33:45
Twitter Icon @workentin New vulnerability on the NVD: CVE-2021-3782 ift.tt/dc2qpi7 2022-09-23 18:40:16
Twitter Icon @xanadulinux CVE-2021-3782 ift.tt/1DV8I5b 2022-09-23 18:52:11
Reddit Logo Icon /r/netcve CVE-2021-3782 2022-09-23 17:38:52
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report