{"id":"UBUNTU-CVE-2023-32700","details":"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.","modified":"2026-04-22T14:07:41.028009Z","published":"2023-05-20T18:15:00Z","related":["USN-6115-1"],"upstream":["CVE-2023-32700"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-32700"},{"type":"REPORT","url":"https://tug.org/~mseven/luatex.html"},{"type":"REPORT","url":"https://tug.org/pipermail/tex-live/2023-May/049188.html"},{"type":"REPORT","url":"https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/tags/1.17.0"},{"type":"REPORT","url":"https://github.com/TeX-Live/texlive-source/releases/tag/build-svn66984"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6115-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-32700"}],"affected":[{"package":{"name":"texlive-bin","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/texlive-bin@2017.20170613.44572-8ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2017.20170613.44572-8ubuntu0.2"}]}],"versions":["2017.20170613.44572-5build1","2017.20170613.44572-5build2","2017.20170613.44572-6","2017.20170613.44572-6build1","2017.20170613.44572-6ubuntu1","2017.20170613.44572-8build1","2017.20170613.44572-8ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libkpathsea6","binary_version":"2017.20170613.44572-8ubuntu0.2"},{"binary_name":"libptexenc1","binary_version":"2017.20170613.44572-8ubuntu0.2"},{"binary_name":"libsynctex1","binary_version":"2017.20170613.44572-8ubuntu0.2"},{"binary_version":"2017.20170613.44572-8ubuntu0.2","binary_name":"libtexlua52"},{"binary_version":"2017.20170613.44572-8ubuntu0.2","binary_name":"libtexluajit2"},{"binary_name":"texlive-binaries","binary_version":"2017.20170613.44572-8ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32700.json"}},{"package":{"name":"texlive-bin","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/texlive-bin@2019.20190605.51237-3ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2019.20190605.51237-3ubuntu0.1"}]}],"versions":["2019.20190605.51237-2build1","2019.20190605.51237-3","2019.20190605.51237-3build1","2019.20190605.51237-3build2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libkpathsea6","binary_version":"2019.20190605.51237-3ubuntu0.1"},{"binary_name":"libptexenc1","binary_version":"2019.20190605.51237-3ubuntu0.1"},{"binary_name":"libsynctex2","binary_version":"2019.20190605.51237-3ubuntu0.1"},{"binary_name":"libtexlua53","binary_version":"2019.20190605.51237-3ubuntu0.1"},{"binary_name":"libtexluajit2","binary_version":"2019.20190605.51237-3ubuntu0.1"},{"binary_name":"texlive-binaries","binary_version":"2019.20190605.51237-3ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32700.json"}},{"package":{"name":"texlive-bin","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/texlive-bin@2021.20210626.59705-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2021.20210626.59705-1ubuntu0.1"}]}],"versions":["2020.20200327.54578-7","2020.20200327.54578-7build1","2021.20210626.59705-1","2021.20210626.59705-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libkpathsea6","binary_version":"2021.20210626.59705-1ubuntu0.1"},{"binary_name":"libptexenc1","binary_version":"2021.20210626.59705-1ubuntu0.1"},{"binary_name":"libsynctex2","binary_version":"2021.20210626.59705-1ubuntu0.1"},{"binary_version":"2021.20210626.59705-1ubuntu0.1","binary_name":"libtexlua53"},{"binary_name":"libtexluajit2","binary_version":"2021.20210626.59705-1ubuntu0.1"},{"binary_name":"texlive-binaries","binary_version":"2021.20210626.59705-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-32700.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}