Use of Uninitialized Resource Affecting qemu-chardev-spice package, versions <5.2.0-150300.118.3
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES153-QEMUCHARDEVSPICE-3057383
- published 20 Oct 2022
- disclosed 19 Oct 2022
Introduced: 19 Oct 2022
CVE-2022-35414 Open this link in a new tabHow to fix?
Upgrade SLES:15.3 qemu-chardev-spice to version 5.2.0-150300.118.3 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream qemu-chardev-spice package and not the qemu-chardev-spice package as distributed by SLES.
See How to fix? for SLES:15.3 relevant fixed versions and status.
softmmu/physmem.c in QEMU through 7.0.0 can perform an uninitialized read on the translate_fail path, leading to an io_readx or io_writex crash. NOTE: a third party states that the Non-virtualization Use Case in the qemu.org reference applies here, i.e., "Bugs affecting the non-virtualization use case are not considered security bugs at this time.
References
- https://www.suse.com/security/cve/CVE-2022-35414.html
- https://bugzilla.suse.com/1201367
- https://www.mail-archive.com/qemu-devel@nongnu.org/msg895266.html
- https://gitlab.com/qemu-project/qemu/-/issues/1065
- https://github.com/qemu/qemu/commit/418ade7849ce7641c0f7333718caf5091a02fd4c
- https://github.com/qemu/qemu/blob/v7.0.0/include/exec/cpu-all.h#L145-L148
- https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6#diff-83c563ed6330dc5d49876f1116e7518b5c16654bbc6e9b4ea8e28f5833d576fcR482.aa
- https://github.com/qemu/qemu/blob/f200ff158d5abcb974a6b597a962b6b2fbea2b06/softmmu/physmem.c
- https://github.com/qemu/qemu/commit/3517fb726741c109cae7995f9ea46f0cab6187d6#diff-83c563ed6330dc5d49876f1116e7518b5c16654bbc6e9b4ea8e28f5833d576fcR482
- https://sick.codes/sick-2022-113
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html
- https://www.qemu.org/docs/master/system/security.html#non-virtualization-use-case
- https://www.mail-archive.com/qemu-devel%40nongnu.org/msg895266.html