PT-2023-9293

CVE-2022-48338

·

Publicado

2023-02-20

·

Atualizado

2025-03-18

Descrição por

CVSS 3.1
7.3
Alta
MétricasAV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions GNU Emacs versions through 28.2
Description An issue was discovered in GNU Emacs where the ruby-find-library-file function in ruby-mode.el has a local command injection vulnerability. The ruby-find-library-file function is an interactive function 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, allowing malicious Ruby source files to cause commands to be executed.
Recommendations For GNU Emacs versions through 28.2, as a temporary workaround, consider disabling the ruby-find-library-file function until a patch is available. Restrict access to the ruby-mode.el module to minimize the risk of exploitation. Avoid using the feature-name parameters in the affected function until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Explorabilidade
Exploit
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
ALSA-2023:2626
ALT-PU-2023-5762
AZL-13681
DSA-5360-1
MGASA-2023-0081
OESA-2023-1148
OPENSUSE-SU-2024:12721-1
RHSA-2023:2626
RHSA-2023_2626
ROSA-SA-2024-2433
SUSE-SU-2023:0598-1
USN-7027-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾