{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "redis",
                    "vendor": "redis",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "< 5.0.14"
                        },
                        {
                            "status": "affected",
                            "version": ">= 6.0.0, < 6.0.16"
                        },
                        {
                            "status": "affected",
                            "version": ">= 6.2.0, < 6.2.6"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-190",
                            "description": "CWE-190: Integer Overflow or Wraparound",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-680",
                            "description": "CWE-680: Integer Overflow to Buffer Overflow",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2022-09-29T16:07:31",
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71"
                },
                {
                    "name": "FEDORA-2021-8913c7900c",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/"
                },
                {
                    "name": "FEDORA-2021-61c487f241",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/"
                },
                {
                    "name": "FEDORA-2021-aa94492a09",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/"
                },
                {
                    "name": "DSA-5001",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "https://www.debian.org/security/2021/dsa-5001"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20211104-0003/"
                },
                {
                    "name": "GLSA-202209-17",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "https://security.gentoo.org/glsa/202209-17"
                }
            ],
            "source": {
                "advisory": "GHSA-833w-8v3m-8wwr",
                "discovery": "UNKNOWN"
            },
            "title": "Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms",
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "security-advisories@github.com",
                    "ID": "CVE-2021-32762",
                    "STATE": "PUBLIC",
                    "TITLE": "Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "redis",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "< 5.0.14"
                                                    },
                                                    {
                                                        "version_value": ">= 6.0.0, < 6.0.16"
                                                    },
                                                    {
                                                        "version_value": ">= 6.2.0, < 6.2.6"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "redis"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "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."
                        }
                    ]
                },
                "impact": {
                    "cvss": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-190: Integer Overflow or Wraparound"
                                }
                            ]
                        },
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-680: Integer Overflow to Buffer Overflow"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr",
                            "refsource": "CONFIRM",
                            "url": "https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr"
                        },
                        {
                            "name": "https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71",
                            "refsource": "MISC",
                            "url": "https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71"
                        },
                        {
                            "name": "FEDORA-2021-8913c7900c",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/"
                        },
                        {
                            "name": "FEDORA-2021-61c487f241",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/"
                        },
                        {
                            "name": "FEDORA-2021-aa94492a09",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/"
                        },
                        {
                            "name": "DSA-5001",
                            "refsource": "DEBIAN",
                            "url": "https://www.debian.org/security/2021/dsa-5001"
                        },
                        {
                            "name": "https://www.oracle.com/security-alerts/cpuapr2022.html",
                            "refsource": "MISC",
                            "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                        },
                        {
                            "name": "https://security.netapp.com/advisory/ntap-20211104-0003/",
                            "refsource": "CONFIRM",
                            "url": "https://security.netapp.com/advisory/ntap-20211104-0003/"
                        },
                        {
                            "name": "GLSA-202209-17",
                            "refsource": "GENTOO",
                            "url": "https://security.gentoo.org/glsa/202209-17"
                        }
                    ]
                },
                "source": {
                    "advisory": "GHSA-833w-8v3m-8wwr",
                    "discovery": "UNKNOWN"
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T23:33:55.894Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71"
                    },
                    {
                        "name": "FEDORA-2021-8913c7900c",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/"
                    },
                    {
                        "name": "FEDORA-2021-61c487f241",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/"
                    },
                    {
                        "name": "FEDORA-2021-aa94492a09",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/"
                    },
                    {
                        "name": "DSA-5001",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2021/dsa-5001"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.oracle.com/security-alerts/cpuapr2022.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://security.netapp.com/advisory/ntap-20211104-0003/"
                    },
                    {
                        "name": "GLSA-202209-17",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202209-17"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2021-32762",
        "datePublished": "2021-10-04T18:00:11",
        "dateReserved": "2021-05-12T00:00:00",
        "dateUpdated": "2024-08-03T23:33:55.894Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}