keepalived: Insecure use of temporary files allows attackers read sensitive information from pre-existing files
Published Nov 8, 2018
7.1
HIGHCVSS 3.0
EPSS 0.37%
Description
keepalived 2.0.8 didn't check for existing plain files when writing data to a temporary file upon a call to PrintData or PrintStats. If a local attacker had previously created a file with the expected name (e.g., /tmp/keepalived.data or /tmp/keepalived.stats), with read access for the attacker and write access for the keepalived process, then this potentially leaked sensitive information.
Affected products
No data.
- 2.0.8
No data.
Red Hat Enterprise Linux 6
keepalived
Not affected
Red Hat Enterprise Linux 7
keepalived
Not affected
Red Hat Enterprise Linux 8
keepalived
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | keepalived | Not affected | n/a |
| Red Hat Enterprise Linux 7 | keepalived | Not affected | n/a |
| Red Hat Enterprise Linux 8 | keepalived | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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.
References (7)
- https://access.redhat.com/security/cve/CVE-2018-19046 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1651869 Issue Tracking
- https://bugzilla.suse.com/show_bug.cgi?id=1015141 x_refsource_MISCIssue TrackingThird Party Advisory
- https://github.com/acassen/keepalived/issues/1048 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-19046
- https://security.gentoo.org/glsa/201903-01 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-19046
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-19046 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1651869 | Issue Tracking | |
| https://bugzilla.suse.com/show_bug.cgi?id=1015141 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://github.com/acassen/keepalived/issues/1048 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-19046 | ||
| https://security.gentoo.org/glsa/201903-01 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-19046 |
Change history (0)
No recorded changes yet.