CVE-2022-48338
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2022-48338
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2023-02-20T23:15:12
- Last Modified Date
- 2023-03-03T18:26:12
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:* | 1 | OR | 28.2 |
References
Reference URL | Reference Tags |
---|---|
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1c | Patch |
https://www.debian.org/security/2023/dsa-5360 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-48338 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-48338 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2023-04-17 08:00:31 | Added to TrackCVE | |||
2023-04-17 08:00:34 | Weakness Enumeration | new |