Bug 1905635 (CVE-2020-29484) - CVE-2020-29484 xen: Xenstore: guests can crash xenstored via watchs (XSA-324)
Summary: CVE-2020-29484 xen: Xenstore: guests can crash xenstored via watchs (XSA-324)
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-29484
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1908088
Blocks: 1903644
TreeView+ depends on / blocked
 
Reported: 2020-12-08 17:50 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 18:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 22:19:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-12-08 17:50:56 UTC
When a Xenstore watch fires, the xenstore client which registered the
watch will receive a Xenstore message containing the path of the
modified Xenstore entry which triggered the watch, and the tag which
was specified when registering the watch.

Any communication with xenstored is done via Xenstore messages,
consisting of a message header and the payload. The payload length is
limited to 4096 bytes. Any request to xenstored resulting in a
response with a payload longer than 4096 bytes will result in an
error.

When registering a watch the payload length limit applies to the
combined length of the watched path and the specified tag. As watches
for a specific path are also triggered for all nodes below that path,
the payload of a watch event message can be longer than the payload
needed to register the watch.

A malicious guest which registers a watch using a very large tag (ie
with a registration operation payload length close to the 4096 byte
limit) can cause the generation of watch events with a payload length
larger than 4096 bytes, by writing to Xenstore entries below the
watched path.

This will result in an error condition in xenstored.  This error can
result in a NULL pointer dereference leading to a crash of xenstored.

Comment 1 Guilherme de Almeida Suckevicz 2020-12-15 20:01:10 UTC
External References:

https://www.openwall.com/lists/oss-security/2020/12/15/5

Comment 2 Guilherme de Almeida Suckevicz 2020-12-15 20:01:22 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1908088]

Comment 3 Product Security DevOps Team 2020-12-15 22:19:44 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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