An issue was discovered in GNU Emacs through 28.2. In ruby-mode.el, the ruby-find-library-file function has a local command injection vulnerability. The ruby-find-library-file function is an interactive function, and bound to C-c C-f. Inside the function, the external command gem is called through shell-command-to-string, but the feature-name parameters are not escaped. Thus, malicious Ruby source files may cause commands to be executed.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade emacsUpgrade emacs-noxUpgrade emacs-lucidUpgrade emacs-filesystemUpgrade emacs-common | May 15, 2023 | Feb 20, 2023 |
| Amazon Linux Ami 2 | — | Upgrade emacs-commonUpgrade emacs-develUpgrade emacs-noxUpgrade emacs-lucidUpgrade emacs-debuginfoUpgrade emacs-terminalUpgrade emacsUpgrade emacs-filesystem | Mar 7, 2023 | Feb 20, 2023 |
| Amazon_linux_2023 | — | Upgrade emacsUpgrade emacs-common-debuginfoUpgrade emacs-develUpgrade emacs-filesystemUpgrade emacs-nox-debuginfoUpgrade emacs-lucid-debuginfoUpgrade emacs-commonUpgrade emacs-lucidUpgrade emacs-debugsourceUpgrade emacs-terminalUpgrade emacs-debuginfoUpgrade emacs-nox | Feb 17, 2025 | Feb 21, 2023 |
| Centos_linux | — | Upgrade emacs-debuginfoUpgrade emacs-noxUpgrade emacs-debugsourceUpgrade emacs-commonUpgrade emacs-filesystemUpgrade emacs-lucid-debuginfoUpgrade emacsUpgrade emacs-lucidUpgrade emacs-common-debuginfoUpgrade emacs-nox-debuginfo | May 15, 2023 | Feb 20, 2023 |
| Debian | — | Upgrade emacs | Feb 27, 2023 | Feb 20, 2023 |
| Freebsd | — | Upgrade emacs-noxUpgrade emacs-develUpgrade emacs-devel-noxUpgrade emacsUpgrade emacs-canna | Feb 28, 2023 | Feb 27, 2023 |
| Gentoo Linux | — | Upgrade app-emacs/org-mode.Upgrade app-editors/emacs. | Jul 3, 2024 | Feb 20, 2023 |
| Huawei Euleros 2_0_sp10 | — | Upgrade emacs-filesystem | May 18, 2023 | Feb 20, 2023 |
| Huawei Euleros 2_0_sp11 | — | Upgrade emacs-filesystem | Jul 5, 2023 | Feb 20, 2023 |
| Oracle_linux | — | Upgrade emacs-noxUpgrade emacs-commonUpgrade emacsUpgrade emacs-filesystemUpgrade emacs-lucid | May 17, 2023 | Feb 21, 2023 |
| Redhat_linux | — | Upgrade emacsUpgrade emacs-common-debuginfoUpgrade emacs-filesystemUpgrade emacs-commonUpgrade emacs-nox-debuginfoUpgrade emacs-lucidNo solution existsUpgrade emacs-lucid-debuginfoUpgrade emacs-debugsourceUpgrade emacs-noxUpgrade emacs-debuginfo | May 15, 2023 | Feb 20, 2023 |
| Suse | — | Upgrade emacsUpgrade emacs-x11Upgrade emacs-elUpgrade etagsUpgrade emacs-noxUpgrade emacs-info | Mar 3, 2023 | Feb 20, 2023 |
| Ubuntu | — | Upgrade emacs25-common (Ubuntu Pro)Upgrade emacs (Ubuntu Pro)Upgrade emacsUpgrade emacs-bin-common (Ubuntu Pro)Upgrade emacs25-el (Ubuntu Pro)Upgrade emacs-el (Ubuntu Pro)Upgrade emacs25 (Ubuntu Pro)Upgrade emacs-bin-commonUpgrade emacs-commonUpgrade emacs24-bin-common (Ubuntu Pro)Upgrade emacs24 (Ubuntu Pro)Upgrade emacs24-el (Ubuntu Pro)Upgrade emacs-common (Ubuntu Pro)Upgrade emacs25-bin-common (Ubuntu Pro)Upgrade emacs24-common (Ubuntu Pro)Upgrade emacs-el | Sep 20, 2024 | Feb 20, 2023 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Feb 20, 2023 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub