CVE-2022-48338
CVE-2022-48338
CVSS 7.3 · High · EPSS 1.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- emacs Debian 12Update to 1:28.2+1-11
- emacs Debian 13Update to 1:28.2+1-11
- emacs Debian 14Update to 1:28.2+1-11
- xemacs21 Ubuntu 16.04 LTSNo fix published
- and 16 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="emacs"'dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="xemacs21"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- USN-7027-1 · Ubuntu 22.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS, Ubuntu Pro 24.04 LTS ·
- RHSA-2023:2626 · Red Hat Enterprise Linux 9 appstream ·
- openSUSE-SU-2024:12721-1 · openSUSE Tumbleweed ·
- ALSA-2023:2626 · AlmaLinux 9 ·
- SUSE-SU-2023:0598-1 · openSUSE Leap 15.4, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Desktop Applications 15 SP4 ·
- DSA-5360-1 · Debian 11 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
emacs Debian 12
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-11
Update to 1:28.2+1-11
emacs Debian 13
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-11
Update to 1:28.2+1-11
emacs Debian 14
- Affected ranges
- ECOSYSTEM: < 1:28.2+1-11
Update to 1:28.2+1-11
xemacs21 Ubuntu 16.04 LTS
- Versions
- 21.4.22-4ubuntu3
- 21.4.22-14ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 16.04 LTS
- Versions
- 2009.02.17.dfsg.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 18.04 LTS
- Versions
- 21.4.24-4ubuntu1
- 21.4.24-5ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 18.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 20.04 LTS
- Versions
- 21.4.24-8build1
- 21.4.24-9
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 20.04 LTS
- Versions
- 2009.02.17.dfsg.2-4
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
emacs Ubuntu 22.04 LTS
- Versions
- 1:27.1+1-3ubuntu3
- 1:27.1+1-3ubuntu5
- 1:27.1+1-3ubuntu5.1
- Affected ranges
- ECOSYSTEM: < 1:27.1+1-3ubuntu5.2
Update to 1:27.1+1-3ubuntu5.2
xemacs21 Ubuntu 22.04 LTS
- Versions
- 21.4.24-9ubuntu2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 22.04 LTS
- Versions
- 2009.02.17.dfsg.2-5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 24.04 LTS
- Versions
- 21.4.24-12
- 21.4.24-12build2
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 24.04 LTS
- Versions
- 2009.02.17.dfsg.3-2
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 25.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 25.10
- Versions
- 2009.02.17.dfsg.3-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.10
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.10
- Versions
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21 Ubuntu 26.04 LTS
- Versions
- 21.4.24-12build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
xemacs21-packages Ubuntu 26.04 LTS
- Versions
- 2009.02.17.dfsg.3-3
- 2009.02.17.dfsg.3-3build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1c
- https://www.debian.org/security/2023/dsa-5360
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/
- https://nvd.nist.gov/vuln/detail/CVE-2022-48338