CVE-2021-3782
CVSS V2 None
CVSS V3 Critical 9.8
Description
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.
Overview
- CVE ID
- CVE-2021-3782
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-09-23T16:15:10
- Last Modified Date
- 2022-09-26T22:29:31
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:wayland:wayland:*:*:*:*:*:*:*:* | 1 | OR | 1.20.91 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://gitlab.freedesktop.org/wayland/wayland/-/issues/224 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-3782 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3782 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-09-24 15:00:50 | Added to TrackCVE | |||
2022-12-07 04:38:07 | 2022-09-23T16:15Z | 2022-09-23T16:15:10 | CVE Published Date | updated |
2022-12-07 04:38:07 | 2022-09-26T22:29:31 | CVE Modified Date | updated | |
2022-12-07 04:38:07 | Analyzed | Vulnerability Status | updated |