Bug 854761

Summary: CVE-2012-4406 Openstack-Swift: insecure use of python pickle() [fedora-all]
Product: [Fedora] Fedora Reporter: Kurt Seifried <kseifried>
Component: openstack-swiftAssignee: Derek Higgins <derekh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 17CC: apevec, apevec, breu, david, derekh, jonathansteffan, markmc, rbryant, silas, zaitcev
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Release Note
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 08:36:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 854757    
Description Flags
Default to 0 (pickle) none

Description Kurt Seifried 2012-09-05 18:51:17 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected Fedora

For comments that are specific to the vulnerability please use bugs filed
against "Security Response" product referenced in the "Blocks" field.

For more information see:

When creating a Bodhi update request, please include this bug ID and the
bug IDs of this bug's parent bugs filed against the "Security Response"
product (the top-level CVE bugs).  Please mention the CVE IDs being fixed
in the RPM changelog when available.

Bodhi update submission link:

Please note: this issue affects multiple supported versions of Fedora.
Only one tracking bug has been filed; please ensure that it is only closed
when all affected versions are fixed.

[bug automatically created by: add-tracking-bugs]

Comment 1 Alan Pevec 2012-09-06 08:46:01 UTC
I'm not sure this patch is good for stable updates as-is, at least I'd modify it to have memcache_serialization_support=0 as default and add in update description suggested upgrade procedure, from commit message:
    To avoid an instant full cache flush, existing installations should
    upgrade with 0, then set to 1 and reload, then after some time (24
    hours) set to 2 and reload. Support for 0 and 1 will be removed in
    future versions.

Comment 2 Pete Zaitcev 2012-09-07 05:31:57 UTC
Created attachment 610623 [details]
Default to 0 (pickle)

How about this, then - keep the default compatible.

The attached patch also adjusts the documentation to point it out.

Comment 3 Alan Pevec 2012-09-17 17:25:20 UTC
Looks good, have at it!

Comment 4 Alan Pevec 2012-09-18 20:52:32 UTC
There's followup fix (which just caused folsom swift respin)

Comment 5 Derek Higgins 2012-09-27 16:51:49 UTC
Hi Pete,
   I can't see your patch for some reason (not authorized), do you want me to take a look at it and push into f17? or are you going to make the change?

Comment 6 Pete Zaitcev 2012-09-27 17:42:45 UTC
Derek, if you can do the commit-build-push, it would be a great help.
Sorry to make you do it. I marked the attachment public.

Comment 7 Fedora Update System 2012-09-28 15:07:01 UTC
openstack-swift-1.4.8-2.fc17 has been submitted as an update for Fedora 17.

Comment 8 Fedora Update System 2012-09-28 19:38:41 UTC
openstack-swift-1.4.8-3.fc17 has been submitted as an update for Fedora 17.

Comment 9 Fedora Update System 2012-09-30 02:28:37 UTC
Package openstack-swift-1.4.8-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openstack-swift-1.4.8-3.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).