CVE Tools

CVE-2021-32762

Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms

CVE-2021-32762 is an integer overflow in Redis (CVSS 7.5, High).

No known exploitation. EPSS puts it in the 86th percentile. A vendor fix is available.

Check it yourself

OpenVAS · 18 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.146848

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

The vendor has published a fix. Version details are below where the sources state them.

  • RedisAffected: < 5.0.14Upgrade to: not statedAffected: >= 6.0.0, < 6.0.16Upgrade to: not statedAffected: >= 6.2.0, < 6.2.6Upgrade to: not statedStated by: CVE record
  • Open-source community Debian GNU/LinuxAffected: 10Upgrade to: not statedStated by: BDU
  • RusBITech-Astra Astra Linux Common EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
  • Concern VNIINS OS ON StreletsAffected: before 16.01.2023Upgrade to: not statedStated by: BDU

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS86th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

2.6% chance of exploitation activity in the next 30 days, which ranks it in the 86th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

6 events over 1725 days, from the signal feeds we watch.

  1. OpenVAS check added
  2. Patch availablerecord updated
  3. Publishedweakness classified, att&ck mapped

Affected products

And 3 more affected products. See all after sign-in

Technical detail

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 7.5 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2021-32762

Is CVE-2021-32762 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 2.6%.
Which versions are affected by CVE-2021-32762?
Redis: < 5.0.14; >= 6.0.0, < 6.0.16; >= 6.2.0, < 6.2.6. Debian GNU/Linux: 10. Astra Linux Common Edition: 1.6 «Smolensk». 1 more product is listed in the record.
How do I fix or mitigate CVE-2021-32762?
The vendor has published a fix. The advisory is on github.com.

Last updated

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Redis, not every advisory.