CVE-2018-11218
redis: Heap corruption in lua_cmsgpack.c
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).
Description
Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2 because of stack-based buffer overflows.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | redis | 4.0.10-1.ph1 |
| Photon OS 2.0 | redis | 4.0.10-1.ph2 |
| alpine 3.5 | redis | 3.2.12-r0 |
| alpine 3.6 | redis | 3.2.12-r0 |
| alpine 3.7 | redis | 4.0.10-r0 |
| debian 11 | redis | 5:4.0.10-1 |
| debian 12 | redis | 5:4.0.10-1 |
| debian 13 | redis | 5:4.0.10-1 |
| debian 14 | redis | 5:4.0.10-1 |
| debian 8 | redis | 2:2.8.17-1+deb8u6 |
| debian 9 | redis | 3:3.2.6-3+deb9u1 |
| echo | redis | 5:4.0.10-1 |
Show all 19 entries from 19 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | redis | 4.0.10-1.ph1 |
| Photon OS 2.0 | redis | 4.0.10-1.ph2 |
| alpine 3.5 | redis | 3.2.12-r0 |
| alpine 3.6 | redis | 3.2.12-r0 |
| alpine 3.7 | redis | 4.0.10-r0 |
| debian 11 | redis | 5:4.0.10-1 |
| debian 12 | redis | 5:4.0.10-1 |
| debian 13 | redis | 5:4.0.10-1 |
| debian 14 | redis | 5:4.0.10-1 |
| debian 8 | redis | 2:2.8.17-1+deb8u6 |
| debian 9 | redis | 3:3.2.6-3+deb9u1 |
| echo | redis | 5:4.0.10-1 |
| Red Hat | redis | no fix listed |
| ubuntu 14.04 | redis | 2:2.8.4-2ubuntu0.2 |
| ubuntu 14.04-ESM | redis | 2:2.8.4-2ubuntu0.2 |
| ubuntu 16.04 | redis | 2:3.0.6-1ubuntu0.2 |
| ubuntu 16.04-ESM | redis | 2:3.0.6-1ubuntu0.2 |
| ubuntu 18.04 | redis | 5:4.0.9-1ubuntu0.1 |
| ubuntu 18.04-ESM | redis | 5:4.0.9-1ubuntu0.1 |
References
- http://antirez.com/news/119
- http://www.securityfocus.com/bid/104553
- https://access.redhat.com/errata/RHSA-2019:0052
- https://access.redhat.com/errata/RHSA-2019:0094
- https://access.redhat.com/errata/RHSA-2019:1860
- https://access.redhat.com/security/cve/CVE-2018-11218
- https://github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3
- https://github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0
All 16 references
- https://github.com/antirez/redis/issues/5017
- https://nvd.nist.gov/vuln/detail/CVE-2018-11218
- https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
- https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
- https://security.gentoo.org/glsa/201908-04
- https://www.cve.org/CVERecord?id=CVE-2018-11218
- https://www.debian.org/security/2018/dsa-4230
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html