Bug 2129739 (CVE-2022-3165) - CVE-2022-3165 QEMU: VNC: integer underflow in vnc_client_cut_text_ext leads to CPU exhaustion
Summary: CVE-2022-3165 QEMU: VNC: integer underflow in vnc_client_cut_text_ext leads t...
Keywords:
Status: NEW
Alias: CVE-2022-3165
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2129760 2129761 2129759
Blocks: 2118918
TreeView+ depends on / blocked
 
Reported: 2022-09-26 08:35 UTC by Mauro Matteo Cascella
Modified: 2022-10-17 09:20 UTC (History)
25 users (show)

Fixed In Version: qemu 7.2.0-rc0
Doc Type: If docs needed, set a value
Doc Text:
An integer underflow issue was found in the QEMU VNC server while processing ClientCutText messages in the extended format. A malicious client could use this flaw to make QEMU unresponsive by sending a specially crafted payload message, resulting in a denial of service.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-09-26 08:35:49 UTC
An integer underflow issue was found in the QEMU VNC server while processing ClientCutText messages in the extended format [1]. A malicious client could use this flaw to make QEMU unresponsive by sending a specially crafted payload message, resulting in a denial of service condition.

[1] https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#extended-clipboard-pseudo-encoding

Comment 1 Mauro Matteo Cascella 2022-09-26 08:37:56 UTC
Proposed patch:
https://lists.nongnu.org/archive/html/qemu-devel/2022-09/msg03948.html

Comment 2 Mauro Matteo Cascella 2022-09-26 09:26:17 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 2129759]

Comment 4 Mauro Matteo Cascella 2022-10-17 08:04:23 UTC
Upstream commit:
https://gitlab.com/qemu-project/qemu/-/commit/d307040b18


Note You need to log in before you can comment on or make changes to this bug.