CVE-2012-4406Openstack Swift
Critical 9.8 No auth needed
Follow: this CVE · Openstack · Openstack Swift We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 6.7% probability of exploitation in 30 days · percentile 95
- Auth required
- No
- Published
- Oct 22, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Swift.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | swift |
< 1.7.0 |
1.7.0 |
pip install "swift>=1.7.0" |
| PyPI | swift |
< 1.7.0 |
1.7.0 |
pip install "swift>=1.7.0" |
Per OSV / GitHub Advisories (GHSA-v7mh-3jgf-r26c, PYSEC-2026-545). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openstack | swift | < 1.7.0 |
| fedoraproject | fedora | 16 |
| redhat | gluster_storage_management_console | 2.0 |
| redhat | gluster_storage_server_for_on-premise | 2.0 |
| redhat | storage | 2.0 |
| redhat | storage_for_public_cloud | 2.0 |
| redhat | enterprise_linux_server | 5.0 |
| redhat | enterprise_linux_server | 6.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org Mailing List
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Not Applicable
- www.openwall.com Mailing List
- www.openwall.com Mailing List
- www.securityfocus.com Broken Link
- bugs.launchpad.net Issue Tracking Patch
- bugzilla.redhat.com Issue Tracking Patch
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- github.com Patch
- launchpad.net Release Notes