CVE-2012-4406
Description
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.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
6.571%
chance of exploitation in the next 30 days
higher than 93.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-502: Deserialization of Untrusted Data
Timeline
- 2012-10-22Published by the CNA23:00 UTC
- 2022-05-17GitHub advisory published (GHSA-v7mh-3jgf-r26c)3494 days after publication
Exploit and advisory records
GitHub advisory GHSA-v7mh-3jgf-r26c, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI swift | before 1.7.0 | 1.7.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openstack swift | before 1.7.0fixed in 1.7.0 | 1.7.0 |
| redhat storage | 2.0no fix listed | not listed |
| fedoraproject fedora | 16no fix listed | not listed |
| redhat enterprise_linux_server | 5.0no fix listed6.0no fix listed | not listednot listed |
| redhat gluster_storage_management_console | 2.0no fix listed | not listed |
| redhat gluster_storage_server_for_on-premise | 2.0no fix listed | not listed |
| redhat storage_for_public_cloud | 2.0no fix listed | not listed |
References
- https://bugs.launchpad.net/swift/+bug/1006414
- https://bugzilla.redhat.com/show_bug.cgi?id=854757
- https://github.com/openstack/swift/commit/e1ff51c04554d51616d2845f92ab726cb0e5831a
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089472.html
- http://rhn.redhat.com/errata/RHSA-2012-1379.html
- http://rhn.redhat.com/errata/RHSA-2013-0691.html
- http://www.openwall.com/lists/oss-security/2012/09/05/16
- http://www.openwall.com/lists/oss-security/2012/09/05/4
- http://www.securityfocus.com/bid/55420
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79140
- https://launchpad.net/swift/+milestone/1.7.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-4406'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-4406'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-4406'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-4406'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).