Bug 6238 (CVE-2022-48338-Anolis_OS_7) - [Anolis OS 7] Bugfix for CVE-2022-48338
Summary: [Anolis OS 7] Bugfix for CVE-2022-48338
Status: RESOLVED FIXED
Alias: CVE-2022-48338-Anolis_OS_7
Product: Anolis OS 7
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 7.7
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: 杨晓旋
QA Contact: 杨晓旋
URL:
Whiteboard:
Keywords: CVE
Depends on:
Blocks:
 
Reported: 2023-08-25 16:33 UTC by 小龙
Modified: 2023-09-11 10:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 小龙 admin 2023-08-25 16:33:04 UTC
Description:
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.

Broken commit info:


Bugfix commit info:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1c
Comment 1 小龙 admin 2023-09-11 10:25:22 UTC
PR: 
https://gitee.com/src-anolis-os/emacs/pulls/26