CVE-2024-25178

NameCVE-2024-25178
DescriptionLuaJIT through 2.1 and OpenRusty luajit2 before v2.1-20240314 have an out-of-bounds read in the stack-overflow handler in lj_state.c.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4283-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
luajit (PTS)bullseye2.1.0~beta3+dfsg-5.3vulnerable
bullseye (security)2.1.0~beta3+dfsg-5.3+deb11u1fixed
bookworm2.1.0~beta3+git20220320+dfsg-4.1+deb12u1fixed
forky, sid, trixie2.1.0+openresty20250117-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
luajitsourcebullseye2.1.0~beta3+dfsg-5.3+deb11u1DLA-4283-1
luajitsourcebookworm2.1.0~beta3+git20220320+dfsg-4.1+deb12u1
luajitsource(unstable)2.1.0+openresty20240314-1

Notes

https://github.com/LuaJIT/LuaJIT/issues/1152
Fixed by: https://github.com/LuaJIT/LuaJIT/commit/defe61a56751a0db5f00ff3ab7b8f45436ba74c8 (v2.1)

Search for package or bug name: Reporting problems