Skip to content

GNU Emacs through 28.2 allows attackers to execute...

Critical severity Unreviewed Published Feb 21, 2023 to the GitHub Advisory Database • Updated Oct 14, 2023

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

GNU Emacs through 28.2 allows attackers to execute commands via shell metacharacters in the name of a source-code file, because lib-src/etags.c uses the system C library function in its implementation of the etags program. For example, a victim may use the "etags -u *" command (suggested in the etags documentation) in a situation where the current working directory has contents that depend on untrusted input.

References

Published by the National Vulnerability Database Feb 20, 2023
Published to the GitHub Advisory Database Feb 21, 2023
Last updated Oct 14, 2023

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVE ID

CVE-2022-48337

GHSA ID

GHSA-8hw9-jqh3-h2rx

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Checking history
See something to contribute? Suggest improvements for this vulnerability.