OpenStack Object Storage (swift) before 1.7.0 uses the loads function in the pickle Python module unsafely when storing and loading metadata in memcached, which allows remote attackers to execute arbitrary code via a crafted pickle object.
The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Swift | Openstack | * | 1.7.0 (excluding) |
Native Client for RHEL 5 for Red Hat Storage | RedHat | glusterfs-0:3.3.0.7rhs-1.el5 | * |
Native Client for RHEL 6 for Red Hat Storage | RedHat | glusterfs-0:3.3.0.7rhs-1.el6 | * |
OpenStack Essex for RHEL 6 | RedHat | openstack-swift-0:1.4.8-5.el6 | * |
Red Hat Storage 2.0 | RedHat | appliance-0:1.7.1-1.el6rhs | * |
Red Hat Storage 2.0 | RedHat | augeas-0:0.9.0-1.el6 | * |
Red Hat Storage 2.0 | RedHat | glusterfs-0:3.3.0.7rhs-1.el6rhs | * |
Red Hat Storage 2.0 | RedHat | gluster-swift-0:1.4.8-5.el6rhs | * |
Red Hat Storage 2.0 | RedHat | libvirt-0:0.9.10-21.el6_3.8 | * |
Red Hat Storage 2.0 | RedHat | rhn-client-tools-0:1.0.0-73.el6rhs | * |
Red Hat Storage 2.0 | RedHat | sanlock-0:2.3-4.el6_3 | * |
Red Hat Storage 2.0 | RedHat | sos-0:2.2-17.2.el6rhs | * |
Red Hat Storage 2.0 | RedHat | vdsm-0:4.9.6-20.el6rhs | * |
Red Hat Storage 2.0 Console | RedHat | org.ovirt.engine-root-0:2.0.techpreview1-4 | * |
Red Hat Storage 2.0 Console | RedHat | vdsm-0:4.9.6-20.el6rhs | * |
Swift | Ubuntu | natty | * |
Swift | Ubuntu | oneiric | * |
Swift | Ubuntu | precise | * |
Swift | Ubuntu | upstream | * |
It is often convenient to serialize objects for communication or to save them for later use. However, deserialized data or code can often be modified without using the provided accessor functions if it does not use cryptography to protect itself. Furthermore, any cryptography would still be client-side security – which is a dangerous security assumption. Data that is untrusted can not be trusted to be well-formed. When developers place no restrictions on “gadget chains,” or series of instances and method invocations that can self-execute during the deserialization process (i.e., before the object is returned to the caller), it is sometimes possible for attackers to leverage them to perform unauthorized actions, like generating a shell.