CVE-2023-32668: LuaTeX before 1.17.0 allows a document (compiled with the default settings) to make arbitrary network requests
32
Routine
MEDIUM 5.5UPGRADEUPGRADEUPGRADE
CVE-2023-32668 is a medium-severity flaw (CVSS 5.5) affecting luatex, miktex, tex live. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
LuaTeX before 1.17.0 allows a document (compiled with the default settings) to make arbitrary network requests. This occurs because full access to the socket library is permitted by default, as stated in the documentation. This also affects TeX Live before 2023 r66984 and MiKTeX before 23.5.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-32668?
luatex: upgrade to 1.17.0; miktex: upgrade to 23.5; tex live: upgrade to 2023. Exact commands for each OS are on this page.
Is CVE-2023-32668 being exploited?
CVE-2023-32668 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-32668 affect?
CVE-2023-32668 affects luatex, miktex, tex live. Severity is medium (CVSS 5.5). LuaTeX before 1.17.0 allows a document (compiled with the default settings) to make arbitrary network requests. This occurs because full access to the socket library is permitted by default, as stated in the documentation. This also affects
How urgent is CVE-2023-32668?
Priority 32/100. Public exploit reference
Related CVEs
CVE-2023-32700HIGH 7.8UPGRADEUPGRADE LuaTeX before 1.17.0 allows execution of arbitrary shell commands when compiling a TeX file obtained from an u