MGASA-2018-0494

Source
https://advisories.mageia.org/MGASA-2018-0494.html
Import Source
https://advisories.mageia.org/MGASA-2018-0494.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2018-0494
Related
Published
2018-12-29T23:24:32Z
Modified
2018-12-29T22:57:27Z
Summary
Updated keepalived package fixes security vulnerabilities
Details

keepalived before version 2.0.9 didn't check for pathnames with symlinks when writing data to a temporary file upon a call to PrintData or PrintStats. This allowed local users to overwrite arbitrary files if fs.protected_symlinks is set to 0, as demonstrated by a symlink from /tmp/keepalived.data or /tmp/keepalived.stats to /etc/passwd (CVE-2018-19044).

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 (CVE-2018-19045).

keepalived before version 2.0.10 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 (CVE-2018-19046).

keepalived before version 2.0.9 has a heap-based buffer overflow when parsing HTTP status codes resulting in DoS or possibly unspecified other impact, because extractstatuscode in lib/html.c has no validation of the status code and instead writes an unlimited amount of data to the heap (CVE-2018-19115).

References
Credits

Affected packages

Mageia:6 / keepalived

Package

Name
keepalived
Purl
pkg:rpm/mageia/keepalived?distro=mageia-6

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.10-1.mga6

Ecosystem specific

{
    "section": "core"
}