RCE in Luatex Project
CVE-2023-32700
LuaTeX before 1.17.0 allows execution of arbitrary shell commands when compiling a TeX file obtained from an untrusted source. This occurs because luatex-core.lua lets the original io.popen be accessed. This also affects TeX Live before 2023 r66984 and MiKTeX before 23.5.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- tug.org/pipermail/tex-live/2023-May/049188.html (Release Notes)
- gitlab.lisn.upsaclay.fr/texlive/luatex/-/tags/1.17.0 (Release Notes)
- github.com/TeX-Live/texlive-source/releases/tag/build-svn66984 (Release Notes)
- tug.org/~mseven/luatex.html (Patch, Vendor Advisory)
- FEDORA-2023-38094d905c (vendor-advisory)
- FEDORA-2023-d261122726 (vendor-advisory)