Name | CVE-2020-14147 |
Description | An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow. NOTE: this issue exists because of a CVE-2015-8080 regression. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4731-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
redis (PTS) | bullseye | 5:6.0.16-1+deb11u2 | fixed |
| bullseye (security) | 5:6.0.16-1+deb11u3 | fixed |
| bookworm, bookworm (security) | 5:7.0.15-1~deb12u1 | fixed |
| sid, trixie | 5:7.0.15-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
redis | source | jessie | (not affected) | | | |
redis | source | stretch | (not affected) | | | |
redis | source | buster | 5:5.0.3-4+deb10u2 | | DSA-4731-1 | |
redis | source | (unstable) | 5:6.0.0-1 | | | |
Notes
[stretch] - redis <not-affected> (Vulnerable code reintroduced later)
[jessie] - redis <not-affected> (Vulnerable code reintroduced later)
https://github.com/antirez/redis/pull/6875
Issue re-introduced with https://github.com/antirez/redis/commit/1eb08bcd4634ae42ec45e8284923ac048beaa4c3 (5.0-rc4)
Fixed by: https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571
Fixed upstream in 6.0~rc2 and 5.0.8