LiveActive security incident?Get immediate response
CVE Record

CVE-2022-24834: Heap overflow issue with the Lua cjson library used by Redis

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.

HighCVSS 7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This flaw affects Redis instances that allow Lua scripting. An authenticated, authorized user can run a specially crafted Lua script that corrupts memory in the embedded cjson library, potentially leading to Redis process compromise. It is serious, but not described as remotely exploitable without valid Redis access and scripting permission.

Executive priority

Treat this as a high-priority patching and access-control item for Redis systems, especially shared or remotely reachable deployments. The main business concern is compromise of a trusted Redis service by someone with valid access, not unauthenticated internet-wide exploitation based on the provided sources.

Technical view

CVE-2022-24834 is a heap overflow in Redis Lua cjson handling, associated with CWE-122 and CWE-680. Sources describe heap corruption and potential remote code execution from a crafted Lua script. Redis versions 7.0.x before 7.0.12, 6.2.x before 6.2.13, and 6.0.x before 6.0.20 are listed as affected.

Likely exposure

Exposure is most likely where Redis is reachable by application users, service accounts, operators, or tenants that can authenticate and execute Lua scripts. Internet exposure, shared Redis environments, weak credential control, or broad Redis privileges increase business risk.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation evidence. The CVSS vector indicates local attack vector, high complexity, low privileges, and no user interaction. Practical exploitation requires authenticated and authorized Redis access capable of running Lua scripts.

Researcher notes

Focus validation on Redis version, scripting capability, and trust boundaries around authenticated users. Evidence is clear for affected versions and fixed releases, but the bundle does not provide exploit-in-the-wild evidence or detailed exploitability conditions beyond crafted Lua script execution.

Mitigation direction

  • Upgrade Redis to 7.0.12, 6.2.13, or 6.0.20 as applicable.
  • Apply Redis updates from your OS or appliance vendor when using packaged builds.
  • Restrict Redis network access to trusted application paths and administrators.
  • Review Redis accounts and remove scripting privileges where not required.
  • Check embedded Redis use in vendor products against vendor advisories.

Validation and detection

  • Inventory Redis versions across servers, containers, appliances, and managed environments.
  • Confirm whether Lua scripting is enabled and who can execute scripts.
  • Review Redis ACLs and service-account permissions for unnecessary scripting access.
  • Verify patched versions after package or container image updates.
  • Check vendor advisories for products that bundle Redis.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-122: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-680: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-24834 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7CVSS 3.1HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H15.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7High
CVSS 3.1 vector shape for CVE-2022-24834Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
redisredis>= 7.0.0, < 7.0.12, >= 6.2.0, < 6.2.13, >= 6.0.0, < 6.0.20Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-122 · source CWE mapping

Heap-based Buffer Overflow

Heap-based Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-680 · source CWE mapping

Integer Overflow to Buffer Overflow

Integer Overflow to Buffer Overflow represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.