Skip to content
Fencer Intel
critical 9.8

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 more
    fixed: 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.el6
    fixed: 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

Weakness
  • CWE-502 Deserialization of Untrusted Data
  • CWE-94 Improper Control of Generation of Code

References

Sources

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.