CVE-2020-14147: 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...
High CVSS 7.7
- CVE id
- CVE-2020-14147
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Redis Runtimes and servers |
< 5.0.9 >= 6.0.0, < 6.0.3 |
5.0.9, 6.0.3 |
How to fix it
Upgrade Redis to the fixed release of the line you run: 5.0.9, 6.0.3.
redis-server --version
- Install the patched Redis release of your series (the redis image tag or your packages) and restart it; on a managed service, apply the provider's maintenance update.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2020-14147 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-14147
- Web: https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571
- Web: https://github.com/antirez/redis/pull/6875
- Web: https://security.gentoo.org/glsa/202008-17
- Web: https://www.debian.org/security/2020/dsa-4731
- Web: https://www.oracle.com/security-alerts/cpujan2021.html
- Web: https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571
- Web: https://github.com/antirez/redis/pull/6875
- Web: https://security.gentoo.org/glsa/202008-17
- Web: https://www.debian.org/security/2020/dsa-4731
- Web: https://www.oracle.com/security-alerts/cpujan2021.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.