CVE-2022-48337
emacs: command execution via shell metacharacters
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, CBL-Mariner, Photon OS. Niedriger laut AlmaLinux (hoch), Amazon (hoch), Red Hat (mittel), Oracle (mittel), Rocky Linux (mittel), Ubuntu (mittel).
Beschreibung
GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| CBL-Mariner 2.0 | emacs | 0:28.2-4.cm2 |
| Photon OS 3.0 | emacs | 27.1-3.ph3 |
| Photon OS 4.0 | emacs | 27.1-4.ph4 |
| Photon OS 5.0 | emacs | 28.2-2.ph5 |
| alma 8 | emacs, emacs-common, emacs-filesystem und 3 weitere | 1:26.1-11.el8 |
| alma 9 | emacs, emacs-common, emacs-filesystem und 2 weitere | 1:27.2-8.el9_2.1 |
| amazon linux 1 | emacs, emacs-common, emacs-debuginfo und 1 weitere | 1:24.3-20.25.amzn1 |
| amazon linux 2 | emacs, emacs-common, emacs-debuginfo und 5 weitere | 1:27.2-4.amzn2.0.3 |
| amazon linux 2023 | emacs, emacs-common, emacs-common-debuginfo und 9 weitere | 1:28.2-3.amzn2023.0.3 |
| debian 10 | emacs | 1:26.1+1-3.2+deb10u4 |
| debian 11 | emacs | 1:27.1+1-3.1+deb11u2 |
| debian 12 | emacs | 1:28.2+1-11 |
Alle 82 Einträge aus 28 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| CBL-Mariner 2.0 | emacs | 0:28.2-4.cm2 |
| Photon OS 3.0 | emacs | 27.1-3.ph3 |
| Photon OS 4.0 | emacs | 27.1-4.ph4 |
| Photon OS 5.0 | emacs | 28.2-2.ph5 |
| alma 8 | emacs | 1:26.1-11.el8 |
| alma 8 | emacs-common | 1:26.1-11.el8 |
| alma 8 | emacs-filesystem | 1:26.1-11.el8 |
| alma 8 | emacs-lucid | 1:26.1-11.el8 |
| alma 8 | emacs-nox | 1:26.1-11.el8 |
| alma 8 | emacs-terminal | 1:26.1-11.el8 |
| alma 9 | emacs | 1:27.2-8.el9_2.1 |
| alma 9 | emacs-common | 1:27.2-8.el9_2.1 |
| alma 9 | emacs-filesystem | 1:27.2-8.el9_2.1 |
| alma 9 | emacs-lucid | 1:27.2-8.el9_2.1 |
| alma 9 | emacs-nox | 1:27.2-8.el9_2.1 |
| amazon linux 1 | emacs | 1:24.3-20.25.amzn1 |
| amazon linux 1 | emacs-common | 1:24.3-20.25.amzn1 |
| amazon linux 1 | emacs-debuginfo | 1:24.3-20.25.amzn1 |
| amazon linux 1 | emacs-el | 1:24.3-20.25.amzn1 |
| amazon linux 2 | emacs | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-common | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-debuginfo | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-devel | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-filesystem | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-lucid | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-nox | 1:27.2-4.amzn2.0.3 |
| amazon linux 2 | emacs-terminal | 1:27.2-4.amzn2.0.3 |
| amazon linux 2023 | emacs | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-common | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-common-debuginfo | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-debuginfo | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-debugsource | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-devel | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-filesystem | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-lucid | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-lucid-debuginfo | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-nox | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-nox-debuginfo | 1:28.2-3.amzn2023.0.3 |
| amazon linux 2023 | emacs-terminal | 1:28.2-3.amzn2023.0.3 |
| debian 10 | emacs | 1:26.1+1-3.2+deb10u4 |
| debian 11 | emacs | 1:27.1+1-3.1+deb11u2 |
| debian 12 | emacs | 1:28.2+1-11 |
| debian 13 | emacs | 1:28.2+1-11 |
| debian 14 | emacs | 1:28.2+1-11 |
| echo | emacs | 1:28.2+1-11 |
| Oracle Linux 8 | emacs | 1:26.1-11.el8 |
| Oracle Linux 8 | emacs-common | 1:26.1-11.el8 |
| Oracle Linux 8 | emacs-filesystem | 1:26.1-11.el8 |
| Oracle Linux 8 | emacs-lucid | 1:26.1-11.el8 |
| Oracle Linux 8 | emacs-nox | 1:26.1-11.el8 |
| Oracle Linux 8 | emacs-terminal | 1:26.1-11.el8 |
| Oracle Linux 9 | emacs | 1:27.2-8.el9_2.1 |
| Oracle Linux 9 | emacs-common | 1:27.2-8.el9_2.1 |
| Oracle Linux 9 | emacs-filesystem | 1:27.2-8.el9_2.1 |
| Oracle Linux 9 | emacs-lucid | 1:27.2-8.el9_2.1 |
| Oracle Linux 9 | emacs-nox | 1:27.2-8.el9_2.1 |
| rapidfort amazon linux 2023 | emacs | 1:28.2-3.amzn2023.0.3 |
| rapidfort amazon linux 2023 | emacs-common | 1:28.2-3.amzn2023.0.3 |
| rapidfort amazon linux 2023 | emacs-devel | 1:28.2-3.amzn2023.0.3 |
| rapidfort amazon linux 2023 | emacs-filesystem | 1:28.2-3.amzn2023.0.3 |
| rapidfort amazon linux 2023 | emacs-lucid | 1:28.2-3.amzn2023.0.3 |
| rapidfort amazon linux 2023 | emacs-nox | 1:28.2-3.amzn2023.0.3 |
| rapidfort amazon linux 2023 | emacs-terminal | 1:28.2-3.amzn2023.0.3 |
| rapidfort Oracle Linux 9 | emacs | 1:27.2-8.el9_2.1 |
| rapidfort Oracle Linux 9 | emacs-common | 1:27.2-8.el9_2.1 |
| rapidfort Oracle Linux 9 | emacs-filesystem | 1:27.2-8.el9_2.1 |
| rapidfort Oracle Linux 9 | emacs-lucid | 1:27.2-8.el9_2.1 |
| rapidfort Oracle Linux 9 | emacs-nox | 1:27.2-8.el9_2.1 |
| rapidfort ubuntu 20.04 | emacs | 1:27.1+1-3ubuntu5.2 |
| rapidfort ubuntu 22.04 | emacs | 1:27.1+1-3ubuntu5.2 |
| rapidfort ubuntu 24.04 | emacs | 1:27.1+1-3ubuntu5.2 |
| Red Hat | emacs | kein Fix angegeben |
| Red Hat | emacs-common | kein Fix angegeben |
| Red Hat | emacs-el | kein Fix angegeben |
| Red Hat | emacs-filesystem | kein Fix angegeben |
| Red Hat | emacs-nox | kein Fix angegeben |
| Red Hat | emacs-terminal | kein Fix angegeben |
| rocky 8 | emacs-filesystem | 1:26.1-11.el8 |
| ubuntu 16.04-ESM | emacs24 | 24.5+1-6ubuntu1.1+esm4 |
| ubuntu 18.04-ESM | emacs25 | 25.2+1-6ubuntu0.1~esm2 |
| ubuntu 20.04-ESM | emacs | 1:26.3+1-1ubuntu2+esm1 |
| ubuntu 22.04 | emacs | 1:27.1+1-3ubuntu5.2 |
Referenzen
- https://access.redhat.com/errata/RHSA-2023:2626
- https://access.redhat.com/errata/RHSA-2023:7083
- https://access.redhat.com/security/cve/CVE-2022-48337
- https://bugzilla.redhat.com/2171987
- https://bugzilla.redhat.com/2171988
- https://bugzilla.redhat.com/2171989
- https://bugzilla.redhat.com/2192873
- https://bugzilla.redhat.com/show_bug.cgi?id=2171987
Alle 24 Referenzen
- https://bugzilla.redhat.com/show_bug.cgi?id=2171989
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-48337
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-48339
- https://errata.almalinux.org/9/ALSA-2023-2626.html
- https://errata.rockylinux.org/RLSA-2023:7083
- https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=01a4035c869b91c153af9a9132c87adb7669ea1c
- https://linux.oracle.com/cve/CVE-2022-48337.html
- https://linux.oracle.com/errata/ELSA-2023-7083.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00008.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/
- https://nvd.nist.gov/vuln/detail/CVE-2022-48337
- https://ubuntu.com/security/notices/USN-7027-1
- https://www.cve.org/CVERecord?id=CVE-2022-48337
- https://www.debian.org/security/2023/dsa-5360