{"id":"AZL-13681","summary":"CVE-2022-48338 affecting package emacs for versions less than 28.2-4","details":"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.","modified":"2026-04-01T05:07:45.456244Z","published":"2023-02-20T23:15:12Z","upstream":["CVE-2022-48338"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48338"}],"affected":[{"package":{"name":"emacs","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/emacs"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"28.2-4"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-13681.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}