VDB

CVE-2022-48338

CVE-2022-48338 PUBLISHED CVSS 7.3 HIGH

Reported by mitre · Published February 20, 2023

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.

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2emacs-devel0
n/an/a*
amazon:2023emacs-nox0
amazon:2023emacs-filesystem0
amazon:2emacs-filesystem0
amazon:2emacs-terminal0
amazon:2023emacs-lucid0
amazon:2023emacs-common0
amazon:2emacs-common0
amazon:2emacs-nox0
amazon:2emacs-lucid0
amazon:2023emacs0
amazon:2023emacs-devel0
amazon:2023emacs-terminal0
amazon:2emacs0

Timeline

  • Feb 20, 2023 CVE Published
  • Feb 21, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 21, 2023 PoC Published
  • Mar 10, 2026 Distribution Patch (52 in total, the first dated here)
  • Mar 10, 2026 Security Advisory (56 in total, the first dated here)
  • May 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-48338
vulnetix vdb fixes CVE-2022-48338

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-48338/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›