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 accesse...
HighCVSS 7.8
EPSS 0.81%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
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.
Upgrade path
16 packages: 16 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/texlive(Alpine v3.18) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| alpine/texlive(Alpine v3.19) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| alpine/texlive(Alpine v3.20) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| alpine/texlive(Alpine v3.21) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| alpine/texlive(Alpine v3.22) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| alpine/texlive(Alpine v3.23) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| alpine/texlive(Alpine v3.24) | < 20230506.66984-r0 | 20230506.66984-r0 | Fixed |
| debian/texlive-bin(Debian 12) | < 2022.20220321.62855-5.1 | 2022.20220321.62855-5.1 | Fixed |
| debian/texlive-bin(Debian 13) | < 2022.20220321.62855-5.1 | 2022.20220321.62855-5.1 | Fixed |
| debian/texlive-bin(Debian 14) | < 2022.20220321.62855-5.1 | 2022.20220321.62855-5.1 | Fixed |
| luatex project luatex | >= 1.04, < 1.16.2 | 1.16.2 | Fixed |
| miktex | >= 2.9.6300, < 23.5 | 23.5 | Fixed |
| tug tex live | >= 2017, < 2023 | 2023 | Fixed |
| ubuntu/texlive-bin(Ubuntu 18.04) | < 2017.20170613.44572-8ubuntu0.2; = 2017.20170613.44572-5build1; = 2017.20170613.44572-5build2; = 2017.20170613.44572-6 +4 more | 2017.20170613.44572-8ubuntu0.2 | Fixed |
| ubuntu/texlive-bin(Ubuntu 20.04) | < 2019.20190605.51237-3ubuntu0.1; = 2019.20190605.51237-2build1; = 2019.20190605.51237-3; = 2019.20190605.51237-3build1 +1 more | 2019.20190605.51237-3ubuntu0.1 | Fixed |
| ubuntu/texlive-bin(Ubuntu 22.04) | < 2021.20210626.59705-1ubuntu0.1; = 2020.20200327.54578-7; = 2020.20200327.54578-7build1; = 2021.20210626.59705-1 +1 more | 2021.20210626.59705-1ubuntu0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/texlive-bin(Debian:12) | < 2022.20220321.62855-5.1 | 2022.20220321.62855-5.1 |
| debian/texlive-bin(Debian:13) | < 2022.20220321.62855-5.1 | 2022.20220321.62855-5.1 |
| debian/texlive-bin(Debian:14) | < 2022.20220321.62855-5.1 | 2022.20220321.62855-5.1 |
| ubuntu/texlive-bin(Ubuntu:22.04) | < 2021.20210626.59705-1ubuntu0.1 | 2021.20210626.59705-1ubuntu0.1 |
| alpine/texlive(Alpine:v3.18) | < 20230506.66984-r0 | 20230506.66984-r0 |
| alpine/texlive(Alpine:v3.19) | < 20230506.66984-r0 | 20230506.66984-r0 |
| alpine/texlive(Alpine:v3.20) | < 20230506.66984-r0 | 20230506.66984-r0 |
| alpine/texlive(Alpine:v3.21) | < 20230506.66984-r0 | 20230506.66984-r0 |
| alpine/texlive(Alpine:v3.22) | < 20230506.66984-r0 | 20230506.66984-r0 |
| alpine/texlive(Alpine:v3.23) | < 20230506.66984-r0 | 20230506.66984-r0 |
| alpine/texlive(Alpine:v3.24) | < 20230506.66984-r0 | 20230506.66984-r0 |
| luatex project luatex | >= 1.04, < 1.16.2 | 1.16.2 |
| miktex | >= 2.9.6300, < 23.5 | 23.5 |
| tug tex live | >= 2017, < 2023 | 2023 |
| ubuntu/texlive-bin(Ubuntu:18.04) | < 2017.20170613.44572-8ubuntu0.2 | 2017.20170613.44572-8ubuntu0.2 |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-5build1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-5build2 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-6 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-6build1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-6ubuntu1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-8build1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:18.04) | = 2017.20170613.44572-8ubuntu0.1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:20.04) | < 2019.20190605.51237-3ubuntu0.1 | 2019.20190605.51237-3ubuntu0.1 |
| ubuntu/texlive-bin(Ubuntu:20.04) | = 2019.20190605.51237-2build1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:20.04) | = 2019.20190605.51237-3 | No fix listed |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/texlive-bin(Ubuntu:20.04) | = 2019.20190605.51237-3build1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:20.04) | = 2019.20190605.51237-3build2 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:22.04) | = 2020.20200327.54578-7 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:22.04) | = 2020.20200327.54578-7build1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:22.04) | = 2021.20210626.59705-1 | No fix listed |
| ubuntu/texlive-bin(Ubuntu:22.04) | = 2021.20210626.59705-1build1 | No fix listed |
References
- Debian Security Tracker CVE-2023-32700 vendor-advisory
- tug.org issue-tracking release-notes
- gitlab.lisn.upsaclay.fr issue-tracking release-notes
- github.com issue-tracking release-notes
- tug.org issue-tracking patch vendor-advisory
- FEDORA-2023-38094d905c vendor-advisory
- FEDORA-2023-d261122726 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6115-1 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory