CVE-2018-19115
keepalived: Heap-based buffer overflow when parsing HTTP status codes allows for denial of service or possibly arbitrary code execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Ubuntu (medium).
Description
keepalived before 2.0.7 has a heap-based buffer overflow when parsing HTTP status codes resulting in DoS or possibly unspecified other impact, because extract_status_code in lib/html.c has no validation of the status code and instead writes an unlimited amount of data to the heap.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 2 | keepalived, keepalived-debuginfo | 1.3.5-8.amzn2 |
| debian 11 | keepalived | 1:2.0.10-1 |
| debian 12 | keepalived | 1:2.0.10-1 |
| debian 13 | keepalived | 1:2.0.10-1 |
| debian 14 | keepalived | 1:2.0.10-1 |
| debian 8 | keepalived | 1:1.2.13-1+deb8u1 |
| debian 9 | keepalived | no fix listed |
| echo | keepalived | 1:2.0.10-1 |
| Oracle Linux 7 | keepalived | 1.3.5-8.el7_6 |
| Red Hat | keepalived | no fix listed |
| ubuntu 14.04-ESM | keepalived | 1:1.2.7-1ubuntu1+esm1 |
| ubuntu 16.04 | keepalived | 1:1.2.24-1ubuntu0.16.04.2 |
Show all 17 entries from 16 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 2 | keepalived | 1.3.5-8.amzn2 |
| amazon linux 2 | keepalived-debuginfo | 1.3.5-8.amzn2 |
| debian 11 | keepalived | 1:2.0.10-1 |
| debian 12 | keepalived | 1:2.0.10-1 |
| debian 13 | keepalived | 1:2.0.10-1 |
| debian 14 | keepalived | 1:2.0.10-1 |
| debian 8 | keepalived | 1:1.2.13-1+deb8u1 |
| debian 9 | keepalived | no fix listed |
| echo | keepalived | 1:2.0.10-1 |
| Oracle Linux 7 | keepalived | 1.3.5-8.el7_6 |
| Red Hat | keepalived | no fix listed |
| ubuntu 14.04-ESM | keepalived | 1:1.2.7-1ubuntu1+esm1 |
| ubuntu 16.04 | keepalived | 1:1.2.24-1ubuntu0.16.04.2 |
| ubuntu 16.04-ESM | keepalived | 1:1.2.24-1ubuntu0.16.04.2 |
| ubuntu 18.04 | keepalived | 1:1.3.9-1ubuntu0.18.04.2 |
| ubuntu 18.04-ESM | keepalived | 1:1.3.9-1ubuntu0.18.04.2 |
| ubuntu 18.10 | keepalived | 1:1.3.9-1ubuntu1.1 |
References
- https://access.redhat.com/errata/RHSA-2019:0022
- https://access.redhat.com/errata/RHSA-2019:1792
- https://access.redhat.com/errata/RHSA-2019:1945
- https://access.redhat.com/security/cve/CVE-2018-19115
- https://bugzilla.suse.com/show_bug.cgi?id=1015141
- https://github.com/acassen/keepalived/pull/961
- https://github.com/acassen/keepalived/pull/961/commits/f28015671a4b04785859d1b4b1327b367b6a10e9
- https://linux.oracle.com/cve/CVE-2018-19115.html
All 17 references
- https://linux.oracle.com/errata/ELSA-2019-0022.html
- https://lists.debian.org/debian-lts-announce/2018/11/msg00034.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-19115
- https://security.gentoo.org/glsa/201903-01
- https://ubuntu.com/security/notices/USN-3995-1
- https://ubuntu.com/security/notices/USN-3995-2
- https://usn.ubuntu.com/3995-1/
- https://usn.ubuntu.com/3995-2/
- https://www.cve.org/CVERecord?id=CVE-2018-19115