CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Gnu

CVE-2022-48337
Gnu Emacs vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Emacs, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Gnu Emacs runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Gnu products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.