Bug 854761 - CVE-2012-4406 Openstack-Swift: insecure use of python pickle() [fedora-all]
Summary: CVE-2012-4406 Openstack-Swift: insecure use of python pickle() [fedora-all]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-swift
Version: 17
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Derek Higgins
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2012-4406
TreeView+ depends on / blocked
 
Reported: 2012-09-05 18:51 UTC by Kurt Seifried
Modified: 2012-10-18 08:36 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-18 08:36:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Default to 0 (pickle) (14.86 KB, patch)
2012-09-07 05:31 UTC, Pete Zaitcev
no flags Details | Diff

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
versions.

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:
http://fedoraproject.org/wiki/Security/TrackingBugs

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:
https://admin.fedoraproject.org/updates/new/?type_=security&bugs=854757

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)
https://review.openstack.org/#/c/13217/1/swift/common/middleware/memcache.py,unified

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.
https://admin.fedoraproject.org/updates/openstack-swift-1.4.8-2.fc17

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.
https://admin.fedoraproject.org/updates/openstack-swift-1.4.8-3.fc17

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:
https://admin.fedoraproject.org/updates/FEDORA-2012-15098/openstack-swift-1.4.8-3.fc16
then log in and leave karma (feedback).


Note You need to log in before you can comment on or make changes to this bug.