8.8

CVE-2021-32765: debian debian_linux Integer Overflow or Wraparound

CVSS: 8.8v3.1HighModified
AliasesMGASA-2021-0562openSUSE-SU-2021:1536-1openSUSE-SU-2021:1550-1
Published 04-10-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32765 is a high (CVSS 8.8) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 2.14% chance of exploitation in the next 30 days, higher than 81.7% of scored vulnerabilities.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
2.14%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 04-10-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Hiredis is a minimalistic C client library for the Redis database. In affected versions Hiredis is vulnurable to integer overflow if provided maliciously crafted or corrupted `RESP` `mult-bulk` protocol data. When parsing `multi-bulk` (array-like) replies, hiredis fails to check if `count * sizeof(redisReply*)` can be represented in `SIZE_MAX`. If it can not, and the `calloc()` call doesn't itself make this check, it would result in a short allocation and subsequent buffer overflow. Users of hiredis who are unable to update may set the [maxelements](https://github.com/redis/hiredis#reader-max-array-elements) context option to a value small enough that no overflow is possible.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

2.14%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

0.00 pp

From 2.14% on 19-09-2026

19-09-202619-10-2026
EPSS score
2.14%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Opensuse3 products
  • hiredis&distro=openSUSE Leap 15.2< 0.13.3-bp153.2.3.1
  • hiredis&distro=openSUSE Leap 15.3< 0.13.3-bp153.2.3.1
  • hiredis&distro=openSUSE Tumbleweed< 1.0.2-1.1
Debian2 products
Suse2 products
  • hiredis&distro=SUSE Package Hub 15 SP2< 0.13.3-bp152.4.3.1
  • hiredis&distro=SUSE Package Hub 15 SP3< 0.13.3-bp153.2.3.1
Mageia1 product
  • hiredis< 0.13.3-6.1.mga8
Netapp1 product
Redis1 product
Ubuntu1 product
  • hiredisAll versions (No fix recorded)

7 vendors · 11 products

References

16 links
Show all 16 references