OpenStack Object Storage (swift) Code Injection vulnerability
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | swift | < 1.7.0 | 1.7.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4406
- https://github.com/openstack/swift/commit/e1ff51c04554d51616d2845f92ab726cb0e5831a
- https://access.redhat.com/errata/RHSA-2012:1379
- https://access.redhat.com/errata/RHSA-2013:0691
- https://access.redhat.com/security/cve/CVE-2012-4406
- https://bugs.launchpad.net/swift/+bug/1006414
- https://bugzilla.redhat.com/show_bug.cgi?id=854757
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79140
- https://launchpad.net/swift/+milestone/1.7.0
- https://opendev.org/openstack/swift
- https://web.archive.org/web/20130629092623/http://www.securityfocus.com/bid/55420
- 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://pypi.org/project/swift
- https://github.com/advisories/GHSA-v7mh-3jgf-r26c
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-502, CWE-94- Platform
- Python (PyPI)
- Package
swift- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-v7mh-3jgf-r26c - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-545 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: swift
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 01.2014 06.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 5
- Medium 7
- Low 1
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 1
- 2022: 9
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
earlier: 1
-
OpenStack Object Storage (swift) Code Injection vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.