Bug 1684181 (CVE-2019-0804)

Summary: CVE-2019-0804 WALinuxAgent: swapfile created with weak permissions
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ailan, blc, cbuissar, knoel, logans, lpardo, ribarry, security-response-team, virt-maint, vkuznets, yuxisun
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-12 13:06:43 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: 1684191, 1684192, 1684193, 1688253, 1688254, 1688276, 1711338    
Bug Blocks: 1684184    
Attachments:
Description Flags
Proposed upstream patch fixing the issue none

Description Laura Pardo 2019-02-28 16:14:05 UTC
A vulnerability was found in WALinuxAgent. If the Agent is configured to enable a swapfile on the ephemeral drive (/mnt) then it is created with weak permissions (0644), making it readable by "group" and "other".

Comment 2 Vitaly Kuznetsov 2019-03-01 09:33:19 UTC
Created attachment 1539753 [details]
Proposed upstream patch fixing the issue

Comment 11 Laura Pardo 2019-03-06 12:58:13 UTC
Acknowledgments:

Name: Francis McBratney (Destinatech Limited)

Comment 17 Cedric Buissart 2019-03-13 12:03:25 UTC
Created WALinuxAgent tracking bugs for this issue:

Affects: epel-all [bug 1688254]
Affects: fedora-all [bug 1688253]

Comment 19 Andrej Nemec 2019-03-15 09:47:14 UTC
External References:

https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0804

Comment 22 errata-xmlrpc 2019-06-18 17:20:37 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:1527 https://access.redhat.com/errata/RHSA-2019:1527

Comment 23 Product Security DevOps Team 2019-07-12 13:06:43 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-0804