{"id":"UBUNTU-CVE-2023-28339","details":"OpenDoas through 6.8.2, when TIOCSTI is available, allows privilege escalation because of sharing a terminal with the original session. NOTE: TIOCSTI is unavailable in OpenBSD 6.0 and later, and can be made unavailable in the Linux kernel 6.2 and later.","modified":"2026-05-20T16:13:31.536074018Z","published":"2023-03-14T19:15:00Z","upstream":["CVE-2023-28339"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-28339"},{"type":"REPORT","url":"https://github.com/Duncaen/OpenDoas/issues/106"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2023/03/14/4"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-28339"}],"affected":[{"package":{"name":"doas","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/doas?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.8.1-2","6.8.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"6.8.1-3","binary_name":"doas"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28339.json"}},{"package":{"name":"opendoas","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/opendoas?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.8.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.8.2-1","binary_name":"doas"},{"binary_name":"opendoas","binary_version":"6.8.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28339.json"}},{"package":{"name":"opendoas","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/opendoas?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.8.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"doas","binary_version":"6.8.2-1"},{"binary_name":"opendoas","binary_version":"6.8.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28339.json"}},{"package":{"name":"opendoas","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/opendoas?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.8.2-1","6.8.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.8.2-1build1","binary_name":"doas"},{"binary_name":"opendoas","binary_version":"6.8.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28339.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/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"}]}