{"id":"USN-6005-1","summary":"sudo vulnerabilities","details":"Matthieu Barjole and Victor Cutillas discovered that Sudo incorrectly\nescaped control characters in log messages and sudoreplay output. An\nattacker could possibly use these issues to inject terminal control\ncharacters that alter output when being viewed.\n","modified":"2026-04-27T16:24:25.996831Z","published":"2023-04-11T14:19:40Z","related":["UBUNTU-CVE-2023-28486","UBUNTU-CVE-2023-28487"],"upstream":["CVE-2023-28486","CVE-2023-28487","UBUNTU-CVE-2023-28486","UBUNTU-CVE-2023-28487"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6005-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-28486"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-28487"}],"affected":[{"package":{"name":"sudo","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.21p2-3ubuntu1.6?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.21p2-3ubuntu1.6"}]}],"versions":["1.8.20p2-1ubuntu1","1.8.21p2-2ubuntu1","1.8.21p2-3ubuntu1","1.8.21p2-3ubuntu1.1","1.8.21p2-3ubuntu1.2","1.8.21p2-3ubuntu1.3","1.8.21p2-3ubuntu1.4","1.8.21p2-3ubuntu1.5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.21p2-3ubuntu1.6","binary_name":"sudo"},{"binary_version":"1.8.21p2-3ubuntu1.6","binary_name":"sudo-ldap"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:18.04:LTS","cves":[{"id":"CVE-2023-28486","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2023-28487","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6005-1.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.8.31-1ubuntu1.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.31-1ubuntu1.5"}]}],"versions":["1.8.27-1ubuntu4","1.8.29-1ubuntu1","1.8.31-1ubuntu1","1.8.31-1ubuntu1.1","1.8.31-1ubuntu1.2","1.8.31-1ubuntu1.4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.31-1ubuntu1.5","binary_name":"sudo"},{"binary_version":"1.8.31-1ubuntu1.5","binary_name":"sudo-ldap"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2023-28486","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2023-28487","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6005-1.json"}},{"package":{"name":"sudo","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/sudo@1.9.9-1ubuntu2.4?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.9-1ubuntu2.4"}]}],"versions":["1.9.5p2-3ubuntu2","1.9.9-1ubuntu2","1.9.9-1ubuntu2.1","1.9.9-1ubuntu2.2","1.9.9-1ubuntu2.3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.9-1ubuntu2.4","binary_name":"sudo"},{"binary_version":"1.9.9-1ubuntu2.4","binary_name":"sudo-ldap"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2023-28486","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]},{"id":"CVE-2023-28487","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6005-1.json"}}],"schema_version":"1.7.5"}