{
  "document": {
    "aggregate_severity": {
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      },
      {
        "category": "details",
        "text": "* SECURITY UPDATE: integer overflow in Lua bit.tohex function\n     - debian/patches/0026-CVE-2024-31449.patch: Fix integer overflow in\n       lua_bit.c when INT_MIN is passed as second argument\n     - CVE-2024-31449\n   * SECURITY UPDATE: lua script execution in wrong user context\n     - debian/patches/0027-CVE-2025-46818.patch: Remove unsafe Lua functions\n       (getfenv, setfenv, newproxy) and protect basic type metatables\n     - CVE-2025-46818",
        "title": "Details"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_docker/debian12/advisories/2025/clsa-2025_1765903458.json"
      },
      {
        "category": "self",
        "summary": "https://cve.tuxcare.com/els-docker/releases/CLSA-2025:1765903458",
        "url": "https://cve.tuxcare.com/els-docker/releases/CLSA-2025:1765903458"
      }
    ],
    "tracking": {
      "current_release_date": "2025-12-16T16:44:52Z",
      "generator": {
        "date": "2025-12-16T16:44:52Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CLSA-2025:1765903458",
      "initial_release_date": "2025-12-16T16:44:52Z",
      "revision_history": [
        {
          "date": "2025-12-16T16:44:52Z",
          "number": "1",
          "summary": "Initial version"
        }
      ],
      "status": "final",
      "version": "1"
    },
    "title": "Fix CVE(s): CVE-2024-31449, CVE-2025-46818"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Debian 12",
                "product": {
                  "name": "Debian 12",
                  "product_id": "Debian-12",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:debian:debian_linux:12:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Debian"
          }
        ],
        "category": "vendor",
        "name": "Software in the Public Interest, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                "product": {
                  "name": "redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                  "product_id": "redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/redis6-tools@6.0.16-1~bookworm%2Btuxcare.els2?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                "product": {
                  "name": "redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                  "product_id": "redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/redis6-sentinel@6.0.16-1~bookworm%2Btuxcare.els2?arch=amd64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                "product": {
                  "name": "redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                  "product_id": "redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/redis6-server@6.0.16-1~bookworm%2Btuxcare.els2?arch=amd64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "amd64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
                "product": {
                  "name": "redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
                  "product_id": "redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
                  "product_identification_helper": {
                    "purl": "pkg:deb/tuxcare/redis6@6.0.16-1~bookworm%2Btuxcare.els2?arch=all"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "all"
          }
        ],
        "category": "vendor",
        "name": "TuxCare"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64 as a component of Debian 12",
          "product_id": "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
        },
        "product_reference": "redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
        "relates_to_product_reference": "Debian-12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "redis6-5:6.0.16-1~bookworm+tuxcare.els2.all as a component of Debian 12",
          "product_id": "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all"
        },
        "product_reference": "redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
        "relates_to_product_reference": "Debian-12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64 as a component of Debian 12",
          "product_id": "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
        },
        "product_reference": "redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
        "relates_to_product_reference": "Debian-12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64 as a component of Debian 12",
          "product_id": "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
        },
        "product_reference": "redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
        "relates_to_product_reference": "Debian-12"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-31449",
      "cwe": {
        "id": "CWE-20",
        "name": "Improper Input Validation"
      },
      "notes": [
        {
          "category": "description",
          "text": "Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
          "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
          "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
          "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-docker/cve/CVE-2024-31449"
        },
        {
          "category": "external",
          "summary": "https://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9",
          "url": "https://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9"
        },
        {
          "category": "external",
          "summary": "https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5",
          "url": "https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5"
        }
      ],
      "release_date": "2024-10-07T20:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2025-12-16T16:44:20.128807Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-docker/releases/CLSA-2025:1765903458",
          "product_ids": [
            "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
            "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
          ],
          "url": "https://cve.tuxcare.com/els-docker/releases/CLSA-2025:1765903458"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
            "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    },
    {
      "cve": "CVE-2025-46818",
      "cwe": {
        "id": "CWE-94",
        "name": "Improper Control of Generation of Code ('Code Injection')"
      },
      "notes": [
        {
          "category": "description",
          "text": "Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.",
          "title": "Vulnerability description"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
          "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
          "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
          "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els-docker/cve/CVE-2025-46818"
        },
        {
          "category": "external",
          "summary": "https://github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e",
          "url": "https://github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e"
        },
        {
          "category": "external",
          "summary": "https://github.com/redis/redis/releases/tag/8.2.2",
          "url": "https://github.com/redis/redis/releases/tag/8.2.2"
        },
        {
          "category": "external",
          "summary": "https://github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp",
          "url": "https://github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp"
        }
      ],
      "release_date": "2025-10-03T19:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2025-12-16T16:44:20.128807Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els-docker/releases/CLSA-2025:1765903458",
          "product_ids": [
            "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
            "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
          ],
          "url": "https://cve.tuxcare.com/els-docker/releases/CLSA-2025:1765903458"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "Debian-12:redis6-5:6.0.16-1~bookworm+tuxcare.els2.all",
            "Debian-12:redis6-sentinel-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-server-5:6.0.16-1~bookworm+tuxcare.els2.amd64",
            "Debian-12:redis6-tools-5:6.0.16-1~bookworm+tuxcare.els2.amd64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ]
    }
  ]
}