An update for emacs is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS and openEuler-22.03-LTS-SP1 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2023-1148 Final 1.0 1.0 2023-03-04 Initial 2023-03-04 2023-03-04 openEuler SA Tool V1.0 2023-03-04 emacs security update An update for emacs is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS and openEuler-22.03-LTS-SP1. Emacs is the extensible, customizable, self-documenting real-time display editor.At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. And it is an entire ecosystem of functionality beyond text editing,including a project planner, mail and news reader, debugger interface, calendar, and more. Security Fix(es): An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed.(CVE-2022-48339) 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.(CVE-2022-48338) 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.(CVE-2022-48337) An update for emacs is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3,openEuler-22.03-LTS and openEuler-22.03-LTS-SP1. openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. High emacs https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1148 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-48339 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-48338 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-48337 https://nvd.nist.gov/vuln/detail/CVE-2022-48339 https://nvd.nist.gov/vuln/detail/CVE-2022-48338 https://nvd.nist.gov/vuln/detail/CVE-2022-48337 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS openEuler-22.03-LTS-SP1 emacs-lucid-27.1-10.oe1.aarch64.rpm emacs-devel-27.1-10.oe1.aarch64.rpm emacs-common-27.1-10.oe1.aarch64.rpm emacs-debugsource-27.1-10.oe1.aarch64.rpm emacs-nox-27.1-10.oe1.aarch64.rpm emacs-debuginfo-27.1-10.oe1.aarch64.rpm emacs-27.1-10.oe1.aarch64.rpm emacs-devel-27.1-8.oe1.aarch64.rpm emacs-debuginfo-27.1-8.oe1.aarch64.rpm emacs-common-27.1-8.oe1.aarch64.rpm emacs-27.1-8.oe1.aarch64.rpm emacs-debugsource-27.1-8.oe1.aarch64.rpm emacs-lucid-27.1-8.oe1.aarch64.rpm emacs-nox-27.1-8.oe1.aarch64.rpm emacs-27.2-9.oe2203.aarch64.rpm emacs-debugsource-27.2-9.oe2203.aarch64.rpm emacs-nox-27.2-9.oe2203.aarch64.rpm emacs-lucid-27.2-9.oe2203.aarch64.rpm emacs-debuginfo-27.2-9.oe2203.aarch64.rpm emacs-devel-27.2-9.oe2203.aarch64.rpm emacs-common-27.2-9.oe2203.aarch64.rpm emacs-devel-27.2-9.oe2203sp1.aarch64.rpm emacs-lucid-27.2-9.oe2203sp1.aarch64.rpm emacs-debuginfo-27.2-9.oe2203sp1.aarch64.rpm emacs-common-27.2-9.oe2203sp1.aarch64.rpm emacs-debugsource-27.2-9.oe2203sp1.aarch64.rpm emacs-27.2-9.oe2203sp1.aarch64.rpm emacs-nox-27.2-9.oe2203sp1.aarch64.rpm emacs-terminal-27.1-10.oe1.noarch.rpm emacs-filesystem-27.1-10.oe1.noarch.rpm emacs-help-27.1-10.oe1.noarch.rpm emacs-filesystem-27.1-8.oe1.noarch.rpm emacs-help-27.1-8.oe1.noarch.rpm emacs-terminal-27.1-8.oe1.noarch.rpm emacs-terminal-27.2-9.oe2203.noarch.rpm emacs-filesystem-27.2-9.oe2203.noarch.rpm emacs-help-27.2-9.oe2203.noarch.rpm emacs-terminal-27.2-9.oe2203sp1.noarch.rpm emacs-filesystem-27.2-9.oe2203sp1.noarch.rpm emacs-help-27.2-9.oe2203sp1.noarch.rpm emacs-27.1-10.oe1.src.rpm emacs-27.1-8.oe1.src.rpm emacs-27.2-9.oe2203.src.rpm emacs-27.2-9.oe2203sp1.src.rpm emacs-debuginfo-27.1-10.oe1.x86_64.rpm emacs-devel-27.1-10.oe1.x86_64.rpm emacs-debugsource-27.1-10.oe1.x86_64.rpm emacs-27.1-10.oe1.x86_64.rpm emacs-lucid-27.1-10.oe1.x86_64.rpm emacs-nox-27.1-10.oe1.x86_64.rpm emacs-common-27.1-10.oe1.x86_64.rpm emacs-common-27.1-8.oe1.x86_64.rpm emacs-debugsource-27.1-8.oe1.x86_64.rpm emacs-nox-27.1-8.oe1.x86_64.rpm emacs-lucid-27.1-8.oe1.x86_64.rpm emacs-27.1-8.oe1.x86_64.rpm emacs-debuginfo-27.1-8.oe1.x86_64.rpm emacs-devel-27.1-8.oe1.x86_64.rpm emacs-lucid-27.2-9.oe2203.x86_64.rpm emacs-nox-27.2-9.oe2203.x86_64.rpm emacs-devel-27.2-9.oe2203.x86_64.rpm emacs-27.2-9.oe2203.x86_64.rpm emacs-debuginfo-27.2-9.oe2203.x86_64.rpm emacs-debugsource-27.2-9.oe2203.x86_64.rpm emacs-common-27.2-9.oe2203.x86_64.rpm emacs-common-27.2-9.oe2203sp1.x86_64.rpm emacs-debugsource-27.2-9.oe2203sp1.x86_64.rpm emacs-devel-27.2-9.oe2203sp1.x86_64.rpm emacs-lucid-27.2-9.oe2203sp1.x86_64.rpm emacs-27.2-9.oe2203sp1.x86_64.rpm emacs-debuginfo-27.2-9.oe2203sp1.x86_64.rpm emacs-nox-27.2-9.oe2203sp1.x86_64.rpm An issue was discovered in GNU Emacs through 28.2. htmlfontify.el has a command injection vulnerability. In the hfy-istext-command function, the parameter file and parameter srcdir come from external input, and parameters are not escaped. If a file name or directory name contains shell metacharacters, code may be executed. 2023-03-04 CVE-2022-48339 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS openEuler-22.03-LTS-SP1 High 7.3 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H emacs security update 2023-03-04 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1148 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. 2023-03-04 CVE-2022-48338 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS openEuler-22.03-LTS-SP1 High 7.3 AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H emacs security update 2023-03-04 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1148 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. 2023-03-04 CVE-2022-48337 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS openEuler-22.03-LTS-SP1 High 7.8 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H emacs security update 2023-03-04 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1148