{"id":"UBUNTU-CVE-2021-33477","details":"rxvt-unicode 9.22, rxvt 2.7.10, mrxvt 0.5.4, and Eterm 0.9.7 allow (potentially remote) code execution because of improper handling of certain escape sequences (ESC G Q). A response is terminated by a newline.","modified":"2026-02-12T06:28:38.563789Z","published":"2021-05-20T20:15:00Z","upstream":["CVE-2021-33477"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-33477"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2021/05/17/1"},{"type":"REPORT","url":"https://git.enlightenment.org/apps/eterm.git/log/"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2017/05/01/20"},{"type":"REPORT","url":"https://sourceforge.net/projects/rxvt/files/rxvt-dev/"},{"type":"REPORT","url":"http://cvs.schmorp.de/rxvt-unicode/src/command.C?r1=1.582&r2=1.583"},{"type":"REPORT","url":"https://packetstormsecurity.com/files/162621/rxvt-2.7.0-rxvt-unicode-9.22-Code-Execution.html"},{"type":"REPORT","url":"https://sourceforge.net/projects/materm/files/mrxvt%20source/"},{"type":"REPORT","url":"http://cvs.schmorp.de/rxvt-unicode/Changes?view=log"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-33477"}],"affected":[{"package":{"name":"eterm","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/eterm@0.9.6-4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-1","0.9.6-3","0.9.6-4"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.6-4","binary_name":"eterm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"mrxvt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mrxvt@0.5.4-1.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1","0.5.4-1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.5.4-1.2","binary_name":"mrxvt"},{"binary_version":"0.5.4-1.2","binary_name":"mrxvt-cjk"},{"binary_version":"0.5.4-1.2","binary_name":"mrxvt-common"},{"binary_version":"0.5.4-1.2","binary_name":"mrxvt-mini"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"rxvt","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/rxvt@1:2.7.10-6?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:2.7.10-6"],"ecosystem_specific":{"binaries":[{"binary_version":"1:2.7.10-6","binary_name":"rxvt"},{"binary_version":"1:2.7.10-6","binary_name":"rxvt-ml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"rxvt-unicode","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/rxvt-unicode@9.21-1build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.21-1","9.21-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"9.21-1build1","binary_name":"rxvt-unicode"},{"binary_version":"9.21-1build1","binary_name":"rxvt-unicode-256color"},{"binary_version":"9.21-1build1","binary_name":"rxvt-unicode-lite"},{"binary_version":"9.21-1build1","binary_name":"rxvt-unicode-ml"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"eterm","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/eterm@0.9.6-5?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.6-5","binary_name":"eterm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"rxvt-unicode","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rxvt-unicode@9.22-3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.22-1build2","9.22-3"],"ecosystem_specific":{"binaries":[{"binary_version":"9.22-3","binary_name":"aterm"},{"binary_version":"9.22-3","binary_name":"aterm-ml"},{"binary_version":"1:2.7.10-7.1+urxvt9.22-3","binary_name":"rxvt"},{"binary_version":"1:2.7.10-7.1+urxvt9.22-3","binary_name":"rxvt-ml"},{"binary_version":"9.22-3","binary_name":"rxvt-unicode"},{"binary_version":"9.22-3","binary_name":"rxvt-unicode-256color"},{"binary_version":"9.22-3","binary_name":"rxvt-unicode-lite"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"eterm","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/eterm@0.9.6-6build1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6-6build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.6-6build1","binary_name":"eterm"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}},{"package":{"name":"rxvt-unicode","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rxvt-unicode@9.22-6build3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.22-6build1","9.22-6build2","9.22-6build3"],"ecosystem_specific":{"binaries":[{"binary_version":"9.22-6build3","binary_name":"aterm"},{"binary_version":"9.22-6build3","binary_name":"aterm-ml"},{"binary_version":"1:2.7.10-7.1+urxvt9.22-6build3","binary_name":"rxvt"},{"binary_version":"1:2.7.10-7.1+urxvt9.22-6build3","binary_name":"rxvt-ml"},{"binary_version":"9.22-6build3","binary_name":"rxvt-unicode"},{"binary_version":"9.22-6build3","binary_name":"rxvt-unicode-256color"},{"binary_version":"9.22-6build3","binary_name":"rxvt-unicode-lite"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33477.json"}}],"schema_version":"1.7.3","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":"Ubuntu","score":"medium"}]}