Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions |
|---|---|---|---|
| Red Hat | Red Hat Ceph Storage 5 | affected | — |
| Red Hat | Red Hat Ceph Storage 9 | affected | — |
| Red Hat | Red Hat OpenStack Platform 17.1 | affected | — |
| Red Hat | Red Hat OpenStack Platform 18.0 | affected | — |
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Redhat | Ceph Storage |
|
||||||||
| Redhat | Openstack Platform |
|
Vendor Workaround
Bind memcached to localhost only (the plugin default, 127.0.0.1:11211) and never expose an unauthenticated memcached across a trust boundary; isolate the cache to the controller. Prefer the redis cache plugin (explicit JSON) or the jsonfile/yaml cache plugins where a shared/remote fact cache is required. Treat any host with write access to the fact-cache memcached as trusted to run code on the controller.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.721% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat openstack Platform
|
|
| Vendors & Products |
Redhat openstack Platform
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A flaw was found in the memcached cache plugin of the community.general Ansible collection. Although its documentation states that records are stored in JSON format, the plugin performs no explicit serialization and relies on python-memcached, which pickles values on write and unpickles them on read. Because memcached is unauthenticated and cache keys are predictable, an attacker able to reach a network-exposed or shared memcached instance can write a crafted pickle payload that is deserialized and executed on the Ansible controller when the poisoned fact cache is next read, leading to remote code execution. | |
| Title | Community.general: community.general: memcached cache plugin deserializes untrusted pickle data from memcached, enabling cache-poisoning remote code execution on the ansible controller | |
| First Time appeared |
Redhat
Redhat ceph Storage Redhat openstack |
|
| Weaknesses | CWE-502 | |
| CPEs | cpe:/a:redhat:ceph_storage:5 cpe:/a:redhat:ceph_storage:9 cpe:/a:redhat:openstack:17.1 cpe:/a:redhat:openstack:18.0 |
|
| Vendors & Products |
Redhat
Redhat ceph Storage Redhat openstack |
|
| References |
| |
| Metrics |
cvssV3_1
|