Skip to content
Heist/ feed
Back to feed
HighFix available

redis — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-24834

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

Products
redis
Affected versions
5:7.0.11-1, 5:7.0.11-1+deb12u1, 5:7.0.12-1, 5:7.0.12-2, 5:7.0.13-1, 5:7.0.13-2, 5:7.0.14-1, 5:7.0.14-2
Fixed versions
5:7.0.12-1, 5:7.0.15-1~deb12u1
CVEs
CVE-2022-24834
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:47 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-24834

core-osv · Original source

Published 13 Jul 2023, 15:15 UTC

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

osv:DEBIAN-CVE-2022-24834

redis

Fixed versions: 5:7.0.15-1~deb12u1

redis

Fixed versions: 5:7.0.12-1

redis

Fixed versions: 5:7.0.12-1

Complete source record
{
  "id": "1b66e4d1ee21c097070b762087391ef4394270d893845a6d021f59c51fedc0cc",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-24834",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-24834",
    "summary": "Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.",
    "evidence": "osv:DEBIAN-CVE-2022-24834",
    "products": [
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5:7.0.15-1~deb12u1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "5:7.0.11-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.11-1+deb12u1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.12-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.12-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.13-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.13-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.14-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5:7.0.14-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5:7.0.12-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5:7.0.12-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-24834",
      "aliases": [
        "DEBIAN-CVE-2022-24834"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5:7.0.15-1~deb12u1"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:deb/debian/redis?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "5:7.0.11-1",
            "5:7.0.11-1+deb12u1",
            "5:7.0.12-1",
            "5:7.0.12-2",
            "5:7.0.13-1",
            "5:7.0.13-2",
            "5:7.0.14-1",
            "5:7.0.14-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24834.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5:7.0.12-1"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:deb/debian/redis?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24834.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5:7.0.12-1"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:deb/debian/redis?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24834.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:09.293435605Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-24834"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-24834"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-24834",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323288,
  "published_at": "2023-07-13T15:15:08.817+00:00"
}