{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-48338","published":"2023-02-20T23:15:12.297000Z","last_modified":"2026-06-17T05:15:11.333000Z","status":"Modified","cvss":{"version":"3.1","score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-77"],"cpes":[{"criteria":"cpe:2.3:a:gnu:emacs:*:*:*:*:*:*:*:*","part":"a","vendor":"gnu","product":"emacs","version_end_including":"28.2"}],"cpes_truncated":false,"vendors":["gnu"],"products":["gnu/emacs"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.0179,"percentile":0.78903,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":44,"links":{"html_es":"/es/cve/CVE-2022-48338/","html_en":"/en/cve/CVE-2022-48338/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-48338","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-48338"},"untrusted":{"vendor_name":"Gnu","product_name":"Emacs","desc_en":"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.","affected":[],"references":[{"url":"https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9a3b08061feea14d6f37685ca1ab8801758bfd1c","tags":["Patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FLPQ4K6H2S5TY3L5UDN4K4B3L5RQJYQ6/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U6HDBUQNAH2WL4MHWCTUZLN7NGF7CHTK/","tags":[]},{"url":"https://www.debian.org/security/2023/dsa-5360","tags":["Third Party Advisory"]}]}}