CVE-2012-4406 json
OpenStack Object Storage (swift) Code Injection vulnerability
published 2012-10-22 14 y ago modified 2026-07-01 4 mo ago also GHSA-v7mh-3jgf-r26c , PYSEC-2026-545 , EUVD-2022-5311
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.6%
- EPSS 6.6% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi swift 1.7.0
- openstack swift 1.7.0
- swift Debian 14, Debian 13, Debian 12 1.4.8-2
debian advisories DEBIAN-CVE-2012-4406
- sos storage 2.0 2.2-17.2.el6rhs
- rhsc storage 2.0 2.0.techpreview1-4.el6rhs
- vdsm storage 2.0 4.9.6-20.el6rhs
- augeas storage 2.0 0.9.0-1.el6
- libvirt storage 2.0 0.9.10-21.el6_3.8
- sanlock storage 2.0 2.3-4.el6_3
- vdsm-cli storage 2.0 4.9.6-20.el6rhs
- vdsm-reg storage 2.0 4.9.6-20.el6rhs
red hat advisories RHSA-2013:0691RHSA-2012:1379
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-4406 updated cvss 7.5
Openstack-Swift: insecure use of python pickle()
-
Red Hat Storage 2.0 Console vdsm 4.9.6-20.el6rhs, rhsc 2.0.techpreview1-4.el6rhs, vdsm-bootstrap 4.9.6-20.el6rhs, rhsc-setup 2.0.techpreview1-4.el6rhs, rhsc-config 2.0.techpreview1-4.el6rhs, rhsc-backend 2.0.techpreview1-4.el6rhs, +8 more Red Hat Storage Native Client for Red Hat Enterprise Linux 5 glusterfs 3.3.0.7rhs-1.el5, glusterfs-fuse 3.3.0.7rhs-1.el5, glusterfs-rdma 3.3.0.7rhs-1.el5 Red Hat Storage Native Client for Red Hat Enterprise Linux 6 glusterfs 3.3.0.7rhs-1.el6, glusterfs-fuse 3.3.0.7rhs-1.el6, glusterfs-rdma 3.3.0.7rhs-1.el6 Red Hat Storage Server 2.0 augeas 0.9.0-1.el6, sanlock 2.3-4.el6_3, sos 2.2-17.2.el6rhs, vdsm 4.9.6-20.el6rhs, augeas-libs 0.9.0-1.el6, sanlock-lib 2.3-4.el6_3, +29 morefixed: vendor fix RHSA-2013:0691
-
Red Hat RHOS Essex Release openstack-swift 1.4.8-5.el6, openstack-swift-proxy 1.4.8-5.el6, openstack-swift-object 1.4.8-5.el6, openstack-swift-account 1.4.8-5.el6, openstack-swift-container 1.4.8-5.el6fixed: vendor fix RHSA-2012:1379
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.57% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | swift | <1.7.0 |
1.7.0 |
Classification
References
-
github.com
/openstack/swift/commit/e1ff51c04554d51616d2845f92ab726cb0e5831a
web, patch
-
bugs.launchpad.net
/swift/+bug/1006414
web, issue-tracking, patch
-
bugzilla.redhat.com
/show_bug.cgi?id=854757
web, issue-tracking, patch
-
rhn.redhat.com
/errata/RHSA-2012-1379.html
vendor-advisory, web, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2012-October/089472.html
vendor-advisory, web, mailing-list
-
rhn.redhat.com
/errata/RHSA-2013-0691.html
vendor-advisory, web, not-applicable
-
securityfocus.com
/bid/55420
vdb-entry, web, broken-link
-
launchpad.net
/swift/+milestone/1.7.0
web, release-notes
-
exchange.xforce.ibmcloud.com
/vulnerabilities/79140
vdb-entry, web, third-party-advisory
-
openwall.com
/lists/oss-security/2012/09/05/4
mailing-list, web
-
openwall.com
/lists/oss-security/2012/09/05/16
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2012-4406
advisory
-
access.redhat.com
/errata/RHSA-2012:1379
web
-
access.redhat.com
/errata/RHSA-2013:0691
web
-
access.redhat.com
/security/cve/CVE-2012-4406
web
-
opendev.org
/openstack/swift
package
-
web.archive.org
/web/20130629092623/http://www.securityfocus.com/bid/55420
web
-
pypi.org
/project/swift
package
-
github.com
/advisories/GHSA-v7mh-3jgf-r26c
advisory
Sources
- CVE List CVE-2012-4406
- GitHub Advisory GHSA-v7mh-3jgf-r26c
- NVD CVE-2012-4406
- OSV PYSEC-2026-545
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.