Bug 1651866 (CVE-2018-19045) - CVE-2018-19045 keepalived: Insecure permissions when creating new temporary files allows for leaking of sensitive data
Summary: CVE-2018-19045 keepalived: Insecure permissions when creating new temporary f...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-19045
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1651868 1652396
Blocks: 1651865
TreeView+ depends on / blocked
 
Reported: 2018-11-21 05:32 UTC by Sam Fowler
Modified: 2021-02-16 22:45 UTC (History)
10 users (show)

Fixed In Version: keepalived 2.0.9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:42:50 UTC


Attachments (Terms of Use)

Description Sam Fowler 2018-11-21 05:32:43 UTC
keepalived before version 2.0.9 used mode 0666 when creating new temporary files upon a call to PrintData or PrintStats, potentially leaking sensitive information. 


Upstream Patch:

https://github.com/acassen/keepalived/commit/5241e4d7b177d0b6f073cfc9ed5444bf51ec89d6
https://github.com/acassen/keepalived/commit/c6247a9ef2c7b33244ab1d3aa5d629ec49f0a067


Upstream Issue:

https://github.com/acassen/keepalived/issues/1048


Reference:

https://bugzilla.suse.com/show_bug.cgi?id=1015141

Comment 1 Sam Fowler 2018-11-21 05:34:15 UTC
Created keepalived tracking bugs for this issue:

Affects: fedora-all [bug 1651868]

Comment 4 Adam Mariš 2018-11-29 14:22:52 UTC
Statement:

This issue did not affect the versions of keepalived as shipped with Red Hat Enterprise Linux 6 and 7 as the packages are not built with dbus support, therefore the vulnerable code is not available in resulting RPM and the issue cannot be exploited.


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