Skip to content
Heist/ feed
Back to feed
HighFix available

redis — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2022-31144

Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.

Products
redis
Affected versions
Not specified
Fixed versions
7.0.4-r0
CVEs
CVE-2022-31144
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:12 UTC · Revision 1

Source evidence

ALPINE-CVE-2022-31144

core-osv · Original source

Published 19 Jul 2022, 21:15 UTC

Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.

osv:ALPINE-CVE-2022-31144

redis

Fixed versions: 7.0.4-r0

redis

Fixed versions: 7.0.4-r0

redis

Fixed versions: 7.0.4-r0

redis

Fixed versions: 7.0.4-r0

Complete source record
{
  "id": "eb5a72e5079b031e2cf7a7bfe6adf5699b8fa8964c5221145b5b462c3233cc03",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2022-31144",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2022-31144",
    "summary": "Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.",
    "evidence": "osv:ALPINE-CVE-2022-31144",
    "products": [
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.0.4-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.0.4-r0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.0.4-r0",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "redis",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.0.4-r0",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "ALPINE-CVE-2022-31144",
      "aliases": [
        "ALPINE-CVE-2022-31144"
      ],
      "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": "7.0"
                },
                {
                  "fixed": "7.0.4-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:apk/alpine/redis?arch=source",
            "ecosystem": "Alpine:v3.16"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31144.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "7.0"
                },
                {
                  "fixed": "7.0.4-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:apk/alpine/redis?arch=source",
            "ecosystem": "Alpine:v3.17"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31144.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "7.0"
                },
                {
                  "fixed": "7.0.4-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:apk/alpine/redis?arch=source",
            "ecosystem": "Alpine:v3.18"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31144.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "7.0"
                },
                {
                  "fixed": "7.0.4-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "redis",
            "purl": "pkg:apk/alpine/redis?arch=source",
            "ecosystem": "Alpine:v3.19"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31144.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-15T07:17:54.215080521Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-31144"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2022-31144"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-31144",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 321866,
  "published_at": "2022-07-19T21:15:15.087+00:00"
}