==========================================================================
Ubuntu Security Notice USN-7027-1
September 19, 2024emacs, emacs24, emacs25 vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
Summary:
Several security issues were fixed in Emacs.
Software Description:
- emacs: GNU Emacs editor (metapackage)
- emacs25: GNU Emacs editor (with GTK+ GUI support)
- emacs24: GNU Emacs editor
Details:
It was discovered that Emacs incorrectly handled input sanitization. An
attacker could possibly use this issue to execute arbitrary commands. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04
LTS. (CVE-2022-45939)
Xi Lu discovered that Emacs incorrectly handled input sanitization. An
attacker could possibly use this issue to execute arbitrary commands. This
issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS
and Ubuntu 22.04 LTS. (CVE-2022-48337)
Xi Lu discovered that Emacs incorrectly handled input sanitization. An
attacker could possibly use this issue to execute arbitrary commands. This
issue only affected Ubuntu 22.04 LTS. (CVE-2022-48338)
Xi Lu discovered that Emacs incorrectly handled input sanitization. An
attacker could possibly use this issue to execute arbitrary commands. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04
LTS. (CVE-2022-48339)
It was discovered that Emacs incorrectly handled filename sanitization. An
attacker could possibly use this issue to execute arbitrary commands. This
issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04
LTS. (CVE-2023-28617)
It was discovered that Emacs incorrectly handled certain crafted files. An
attacker could possibly use this issue to crash the program, resulting in
a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu
18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-30203,
CVE-2024-30204, CVE-2024-30205)
It was discovered that Emacs incorrectly handled certain crafted files. An
attacker could possibly use this issue to execute arbitrary commands.
(CVE-2024-39331)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 24.04 LTS
emacs 1:29.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
emacs-bin-common 1:29.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
emacs-common 1:29.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
emacs-el 1:29.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
Ubuntu 22.04 LTS
emacs 1:27.1+1-3ubuntu5.2
emacs-bin-common 1:27.1+1-3ubuntu5.2
emacs-common 1:27.1+1-3ubuntu5.2
emacs-el 1:27.1+1-3ubuntu5.2
Ubuntu 20.04 LTS
emacs 1:26.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
emacs-bin-common 1:26.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
emacs-common 1:26.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
emacs-el 1:26.3+1-1ubuntu2+esm1
Available with Ubuntu Pro
Ubuntu 18.04 LTS
emacs25 25.2+1-6ubuntu0.1~esm2
Available with Ubuntu Pro
emacs25-bin-common 25.2+1-6ubuntu0.1~esm2
Available with Ubuntu Pro
emacs25-common 25.2+1-6ubuntu0.1~esm2
Available with Ubuntu Pro
emacs25-el 25.2+1-6ubuntu0.1~esm2
Available with Ubuntu Pro
Ubuntu 16.04 LTS
emacs24 24.5+1-6ubuntu1.1+esm4
Available with Ubuntu Pro
emacs24-bin-common 24.5+1-6ubuntu1.1+esm4
Available with Ubuntu Pro
emacs24-common 24.5+1-6ubuntu1.1+esm4
Available with Ubuntu Pro
emacs24-el 24.5+1-6ubuntu1.1+esm4
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-7027-1
CVE-2022-45939, CVE-2022-48337, CVE-2022-48338, CVE-2022-48339,
CVE-2023-28617, CVE-2024-30203, CVE-2024-30204, CVE-2024-30205,
CVE-2024-39331,https://launchpad.net/bugs/2070418
Package Information:
https://launchpad.net/ubuntu/+source/emacs/1:27.1+1-3ubuntu5.2