REDHAT-BUG-2477527: Medium severity Etcd Etcd vulnerability
etcd is a distributed key-value store for the data of a distributed system. Prior to 3.4.44, 3.5.30, and 3.6.11, a vulnerability in etcd allows read access via PrevKv, or lease attachment in Put requests within transaction operations, to bypass RBAC authorization checks. An authenticated user without sufficient read or lease-related permissions may be able to access unauthorized data or attach leases by invoking transaction operations with these features enabled. This vulnerability is fixed in 3.4.44, 3.5.30, and 3.6.11.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
etcdto a version that resolves this vulnerability.Fixed in 3.4.44 - Upgrade
Upgrade
etcdto a version that resolves this vulnerability.Fixed in 3.5.30 - Upgrade
Upgrade
etcdto a version that resolves this vulnerability.Fixed in 3.6.11
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker must be an authenticated etcd user and be able to submit transaction operations. The affected authorization checks can be bypassed by users who lack the required read or lease-related permissions.
Which transaction features are involved?
The issue affects Put requests in transactions when PrevKv is used to obtain prior key values, or when a lease is attached. These operations may expose unauthorized data or permit unauthorized lease attachment.
Are users with no etcd credentials affected?
The described attack requires authentication, so unauthenticated users are not identified as able to exploit it. Exposure depends on whether authenticated users can invoke transactions while being restricted by RBAC permissions.
Which versions contain the fix?
The vulnerability is fixed in etcd versions 3.4.44, 3.5.30, and 3.6.11. Versions earlier than those releases in their respective version lines are affected.