Bug 1148232 (CVE-2014-3677)

Summary: CVE-2014-3677 shim: memory corruption flaw when processing Machine Owner Keys (MOKs)
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: chazlett, jrusnack, kbsingh, pholica, pjones, security-response-team, vdanen
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: shim-0.7-8.el7 Doc Type: Bug Fix
Doc Text:
An out-of-bounds memory write flaw was found in the way shim processed certain Machine Owner Keys (MOKs). A local attacker could potentially use this flaw to execute arbitrary code on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-04 18:50:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1148239, 1148240, 1152388    
Bug Blocks: 1148235    
Attachments:
Description Flags
proposed patch none

Description Murray McAllister 2014-10-01 02:45:47 UTC
A flaw was found in the way shim processed Machine Owner Keys (MOKs). This could lead to memory corruption in shim, possibly leading to arbitrary code execution.

Acknowledgements:

Red Hat would like to thank the SUSE Security Team for reporting this issue.

Comment 3 Murray McAllister 2014-10-01 02:58:09 UTC
Created attachment 942903 [details]
proposed patch

Comment 6 Murray McAllister 2014-10-14 03:59:54 UTC
Public now:

http://seclists.org/oss-sec/2014/q4/311

Comment 7 Murray McAllister 2014-10-14 04:03:00 UTC
Created shim tracking bugs for this issue:

Affects: fedora-all [bug 1152388]

Comment 9 Fedora Update System 2014-11-01 17:07:39 UTC
shim-0.8-1.fc22, shim-signed-0.8-1.fc22, mokutil-0.2.0-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Martin Prpič 2014-11-04 10:25:25 UTC
IssueDescription:

An out-of-bounds memory write flaw was found in the way shim processed certain Machine Owner Keys (MOKs). A local attacker could potentially use this flaw to execute arbitrary code on the system.

Comment 11 errata-xmlrpc 2014-11-04 17:56:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:1801 https://rhn.redhat.com/errata/RHSA-2014-1801.html

Comment 12 Fedora Update System 2014-11-12 02:36:06 UTC
mokutil-0.2.0-1.fc19, shim-signed-0.8-2 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2014-11-12 02:41:02 UTC
mokutil-0.2.0-1.fc20, shim-signed-0.8-3 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.