Security
Headlines
HeadlinesLatestCVEs

Headline

Gentoo Linux Security Advisory 202310-13

Gentoo Linux Security Advisory 202310-13 - A vulnerability has been discovered in Mailutils where escape sequences are processed in a context where this may lead to RCE. Versions greater than or equal to 3.12-r3 are affected.

Packet Storm
#vulnerability#web#mac#linux#rce

Gentoo Linux Security Advisory GLSA 202310-13


                                       https://security.gentoo.org/  

Severity: High
Title: GNU Mailutils: unexpected processsing of escape sequences
Date: October 19, 2023
Bugs: #802867
ID: 202310-13


Synopsis

A vulnerability has been discovered in Mailutils where escape sequences
are processed in a context where this may lead to RCE.

Background

GNU Mailutils is a collection of mail-related utilities, including an
IMAP4 server (imap4d) and a Mail User Agent (mail).

Affected packages

Package Vulnerable Unaffected


net-mail/mailutils < 3.12-r3 >= 3.12-r3

Description

A vulnerability has been discovered in GNU Mailutils. Please review the
CVE identifier referenced below for details.

Impact

mail(1) from mailutils would process escape sequences (like ~!
shellcommand) in message bodies piped/redirected in. This creates an RCE
if some part of the message body is under an attacker’s control.

Workaround

There is no known workaround at this time.

Resolution

All Mailutils users should upgrade to the latest version:

emerge --sync

emerge --ask --oneshot --verbose “>=net-mail/mailutils-3.12-r3”

References

[ 1 ] CVE-2021-32749
https://nvd.nist.gov/vuln/detail/CVE-2021-32749

Availability

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

https://security.gentoo.org/glsa/202310-13

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users’ machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License

Copyright 2023 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5

Related news

CVE-2021-32749: fixed possible RCE vulnerability, unset escape variable (default tild… · fail2ban/fail2ban@410a6ce

fail2ban is a daemon to ban hosts that cause multiple authentication errors. In versions 0.9.7 and prior, 0.10.0 through 0.10.6, and 0.11.0 through 0.11.2, there is a vulnerability that leads to possible remote code execution in the mailing action mail-whois. Command `mail` from mailutils package used in mail actions like `mail-whois` can execute command if unescaped sequences (`\n~`) are available in "foreign" input (for instance in whois output). To exploit the vulnerability, an attacker would need to insert malicious characters into the response sent by the whois server, either via a MITM attack or by taking over a whois server. The issue is patched in versions 0.10.7 and 0.11.3. As a workaround, one may avoid the usage of action `mail-whois` or patch the vulnerability manually.

Packet Storm: Latest News

Ubuntu Security Notice USN-7121-3