Bug 1025685 - CVE-2013-4400 libvirt: virt-login-shell arbitrary file overwrites vulnerability [fedora-all]
Summary: CVE-2013-4400 libvirt: virt-login-shell arbitrary file overwrites vulnerabili...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 20
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Eric Blake
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2013-4400
TreeView+ depends on / blocked
 
Reported: 2013-11-01 09:43 UTC by Petr Matousek
Modified: 2014-01-16 22:14 UTC (History)
11 users (show)

Fixed In Version: libvirt-1.1.3.1-1.fc20
Clone Of:
Environment:
Last Closed: 2014-01-16 22:14:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Petr Matousek 2013-11-01 09:43:30 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.

For comments that are specific to the vulnerability please use bugs filed
against the "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 use the bodhi submission link
noted in the next comment(s).  This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.

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 Petr Matousek 2013-11-01 09:43:48 UTC
Please use the following update submission link to create the Bodhi
request for this issue as it contains the top-level parent bug(s) as well
as this tracking bug.  This will ensure that all associated bugs get
updated when new packages are pushed to stable.

Please also ensure that the "Close bugs when update is stable" option
remains checked.

Bodhi update submission link:
https://admin.fedoraproject.org/updates/new/?type_=security&bugs=1015228,1025685

Comment 2 Fedora Update System 2013-11-06 18:38:37 UTC
libvirt-1.1.3.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libvirt-1.1.3.1-1.fc20

Comment 3 Fedora Update System 2013-11-07 19:09:05 UTC
Package libvirt-1.1.3.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.1.3.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-20869/libvirt-1.1.3.1-1.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-11-12 00:35:50 UTC
libvirt-1.1.3.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Eric Blake 2013-12-23 16:53:32 UTC
Reopening - virt-login-shell broke after

commit b7fcc799ad5d8f3e55b89b94e599903e3c092467
Author: Daniel P. Berrange <berrange>
Date:   Wed Oct 9 15:14:34 2013 +0100

    Close all non-stdio FDs in virt-login-shell (CVE-2013-4400)
    
    We don't want to inherit any FDs in the new namespace
    except for the stdio FDs. Explicitly close them all,
    just in case some do not have the close-on-exec flag
    set.
    
    Signed-off-by: Daniel P. Berrange <berrange>

because that accidentally closed all the namespace fds such that the program always fails.

Comment 6 Cole Robinson 2014-01-16 22:10:32 UTC
I believe this was fixed by;

commit 3d007cb5f892bb9fd3f6efac6dc89a8e00e94922
Author: Eric Blake <eblake>
Date:   Mon Dec 23 10:15:48 2013 -0700

    virt-login-shell: fix regressions in behavior

Comment 7 Cole Robinson 2014-01-16 22:14:39 UTC
Actually, I filed a new bug to track the regression, rather than reopen this CVE report, since I know the sec guys have some process around this.

https://bugzilla.redhat.com/show_bug.cgi?id=1054479


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