CVE-2018-11218
published 2018-06-17CVE-2018-11218: 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…
PriorityP273critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
58.53%
99.0th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | redis | < redis 5:4.0.10-1 (bookworm) | redis 5:4.0.10-1 (bookworm) |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
| redis | redis | >= 0 < 5:4.0.10-1 | 5:4.0.10-1 |
| redis | redis | >= 0 < 5:4.0.10-1 | 5:4.0.10-1 |
| redis | redis | >= 0 < 5:4.0.10-1 | 5:4.0.10-1 |
| redis | redis | >= 0 < 5:4.0.10-1 | 5:4.0.10-1 |
| redislabs | redis | < 3.2.12 | 3.2.12 |
| redislabs | redis | — | — |
| redislabs | redis | >= 4.0 < 4.0.10 | 4.0.10 |
Detection & IOCsextracted from sources · hover to see the quote
- →Vulnerability resides in the cmsgpack library (lua_cmsgpack.c) within the Lua subsystem of Redis — monitor for exploitation attempts targeting Redis Lua script execution paths ↗
- →Patch commits for CVE-2018-11218 can be used to derive pre-patch vs. post-patch behavioral differences for detection rule development ↗
- →Related exploitation technique (Redis replication abuse for code execution) uses Redis master-slave replication to deliver a malicious extension — monitor for unexpected SLAVEOF or REPLICAOF commands and unusual .so module loads on Redis instances ↗
- ·Only Redis versions before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2 are affected; patched versions are not vulnerable ↗
- ·Red Hat Enterprise Linux 8 ships a non-affected version of Redis; RHEL OpenStack Platform packages are marked 'Will not fix' — assess exposure accordingly ↗
- ·Debian fixed the vulnerability in package version 5:4.0.10-1 across all supported releases (bookworm, bullseye, forky, sid, trixie) ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-84mm-87vg-44q4: Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3
ghsa_unreviewed·2022-05-13
CVE-2018-11218 [CRITICAL] CWE-787 GHSA-84mm-87vg-44q4: Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3
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.
OSV
CVE-2018-11218: Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3
osv·2018-06-17·CVSS 9.8
CVE-2018-11218 [CRITICAL] CVE-2018-11218: Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3
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.
Red Hat
redis: Heap corruption in lua_cmsgpack.c
vendor_redhat·2018-06-13·CVSS 9.8
CVE-2018-11218 [CRITICAL] CWE-122 redis: Heap corruption in lua_cmsgpack.c
redis: Heap corruption in lua_cmsgpack.c
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.
Package: redis (Red Hat Enterprise Linux 8) - Not affected
Package: redis (Red Hat Enterprise Linux OpenStack Platform 7 (Kilo)) - Will not fix
Package: redis (Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools) - Will not fix
Package: camel-spring-redis (Red Hat Fuse 7) - Not affected
Package: camel-spring-redis (Red Hat JBoss Fuse 6) - Not affected
Package: rhmap-redis-docker (Red Hat Mobile Application Platform 4) - Will not fix
Package: redis (Red Hat OpenStack Platform 12 (Pike)) - Will not fix
Package: redis (Red Hat OpenStack Platfo
Debian
CVE-2018-11218: redis - Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in...
vendor_debian·2018·CVSS 9.8
CVE-2018-11218 [CRITICAL] CVE-2018-11218: redis - Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in...
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.
Scope: local
bookworm: resolved (fixed in 5:4.0.10-1)
bullseye: resolved (fixed in 5:4.0.10-1)
forky: resolved (fixed in 5:4.0.10-1)
sid: resolved (fixed in 5:4.0.10-1)
trixie: resolved (fixed in 5:4.0.10-1)
No detection rules found.
Bugzilla
CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c [epel-all]
bugzilla·2018-06-15·CVSS 9.8
CVE-2018-11218 [CRITICAL] CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c [epel-all]
CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora EP
Bugzilla
CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c [fedora-all]
bugzilla·2018-06-15·CVSS 9.8
CVE-2018-11218 [CRITICAL] CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c [fedora-all]
CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedor
Bugzilla
CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c
bugzilla·2018-06-12·CVSS 9.8
CVE-2018-11218 [CRITICAL] CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c
CVE-2018-11218 redis: Heap corruption in lua_cmsgpack.c
Redis is vulnerable to heap corruption in lua_cmsgpack.c. An attacker could exploit this to cause a denial of service or have other potential unspecified impact.
Discussion:
External References:
http://antirez.com/news/119
---
Created redis tracking bugs for this issue:
Affects: epel-all [bug 1591537]
Affects: fedora-all [bug 1591536]
---
Patches:
https://github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3
https://github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0
---
This issue has been addressed in the following products:
Red Hat OpenStack Platform 10.0 (Newton)
Via RHSA-2019:0052 https://access.redhat.com/errata/RHSA-2019:0052
---
This issue has been addressed in the followi
http://antirez.com/news/119http://www.securityfocus.com/bid/104553https://access.redhat.com/errata/RHSA-2019:0052https://access.redhat.com/errata/RHSA-2019:0094https://access.redhat.com/errata/RHSA-2019:1860https://github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3https://github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0https://github.com/antirez/redis/issues/5017https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTEShttps://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTEShttps://security.gentoo.org/glsa/201908-04https://www.debian.org/security/2018/dsa-4230https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlhttp://antirez.com/news/119http://www.securityfocus.com/bid/104553https://access.redhat.com/errata/RHSA-2019:0052https://access.redhat.com/errata/RHSA-2019:0094https://access.redhat.com/errata/RHSA-2019:1860https://github.com/antirez/redis/commit/52a00201fca331217c3b4b8b634f6a0f57d6b7d3https://github.com/antirez/redis/commit/5ccb6f7a791bf3490357b00a898885759d98bab0https://github.com/antirez/redis/issues/5017https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTEShttps://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTEShttps://security.gentoo.org/glsa/201908-04https://www.debian.org/security/2018/dsa-4230https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
2018-06-17
Published