CVE-2022-48338

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48338
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48338.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48338
Related
Published
2023-02-20T23:15:12Z
Modified
2024-10-01T00:50:54.543679Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:11 / emacs

Package

Name
emacs
Purl
pkg:deb/debian/emacs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:27.1+1-3.1+deb11u2

Affected versions

1:27.*

1:27.1+1-3.1
1:27.1+1-3.1+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / emacs

Package

Name
emacs
Purl
pkg:deb/debian/emacs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:28.2+1-11

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / emacs

Package

Name
emacs
Purl
pkg:deb/debian/emacs?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:28.2+1-11

Ecosystem specific

{
    "urgency": "not yet assigned"
}