MGASA-2022-0457 - Updated emacs packages fix security vulnerability

Publication date: 13 Dec 2022
URL: https://advisories.mageia.org/MGASA-2022-0457.html
Type: security
Affected Mageia releases: 8
CVE: CVE-2022-45939

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 ctags
program. For example, a victim may use the "ctags *" command (suggested in
the ctags documentation) in a situation where the current working
directory has contents that depend on untrusted input. (CVE-2022-45939)

References:
- https://bugs.mageia.org/show_bug.cgi?id=31211
- https://lists.suse.com/pipermail/sle-security-updates/2022-December/013180.html
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/MU2KN46JJ6TL6CR5QN3O4AZXDYE35Z7A/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45939

SRPMS:
- 8/core/emacs-27.1-1.2.mga8

Mageia 2022-0457: emacs security update

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 i...

Summary

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 ctags program. For example, a victim may use the "ctags *" command (suggested in the ctags documentation) in a situation where the current working directory has contents that depend on untrusted input. (CVE-2022-45939)

References

- https://bugs.mageia.org/show_bug.cgi?id=31211

- https://lists.suse.com/pipermail/sle-security-updates/2022-December/013180.html

- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/MU2KN46JJ6TL6CR5QN3O4AZXDYE35Z7A/

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-45939

Resolution

MGASA-2022-0457 - Updated emacs packages fix security vulnerability

SRPMS

- 8/core/emacs-27.1-1.2.mga8

Severity
Publication date: 13 Dec 2022
URL: https://advisories.mageia.org/MGASA-2022-0457.html
Type: security
CVE: CVE-2022-45939

Related News