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.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 debian 14 | | =12.0.0+dfsg-1 || =12.0.0~a6+dfsg-1 || =12.0.0~b1+dfsg-1 || =12.0.0~b2+dfsg-1 || =12.0.0~b3+dfsg-1 || =12.0.0~b5+dfsg-1 || =12.2.0+dfsg-1 || =13.1.0+dfsg-1 || =13.4.0+dfsg-1 || =14.0.0+dfsg-1 || =14.0.0~a4+dfsg-1 |
 debian 12 | | =10.0.0+dfsg-1 || =10.0.1+dfsg-1 || =10.1.0+dfsg-1 || =10.5.0+dfsg-1 || =10.5.0+dfsg-2 || =10.6.0+dfsg-1 || =11.1.0+dfsg-1 || =11.2.0+dfsg-1 || =12.0.0+dfsg-1 || =12.0.0~a1+dfsg-1 || =12.0.0~a2+dfsg-1 || =12.0.0~a4+dfsg-1 || =12.0.0~a6+dfsg-1 || =12.0.0~b1+dfsg-1 || =12.0.0~b2+dfsg-1 || =12.0.0~b3+dfsg-1 || =12.0.0~b5+dfsg-1 || =12.2.0+dfsg-1 || =13.1.0+dfsg-1 || =13.4.0+dfsg-1 || =14.0.0+dfsg-1 || =14.0.0~a4+dfsg-1 || =7.3.0+dfsg-1 || =7.7.0+dfsg-1 || =7.7.0+dfsg-2 || =7.7.0+dfsg-3 || =7.7.0+dfsg-3+deb12u1 || =9.4.0+dfsg-1 || =9.5.1+dfsg-1 |
 debian 13 | | =12.0.0+dfsg-0+deb13u1 || =12.0.0+dfsg-1 || =12.0.0~a6+dfsg-1 || =12.0.0~b1+dfsg-1 || =12.0.0~b2+dfsg-1 || =12.0.0~b3+dfsg-1 || =12.0.0~b5+dfsg-0+deb13u1 || =12.0.0~b5+dfsg-1 || =12.2.0+dfsg-1 || =13.1.0+dfsg-1 || =13.4.0+dfsg-1 || =14.0.0+dfsg-1 || =14.0.0~a4+dfsg-1 |