[ GLSA 202310-13 ] GNU Mailutils: unexpected processsing of escape sequences

[email protected] Thu, 19 Oct 2023 05:49:01 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <169769454166.7.11035454268856852977@eaa400207d9c>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmUww00ACgkQFMQkOaVy
+9mg3Q/+M6DTGvJHzwnjBVsM46jCdFuZuxa1GKoTNVrPlg5izOO++9nxSJ9VBaIY
nBLDtUDoAU0ZiC7ttCBlQwQiVmjbKIPK4mUMWK7OkoG96igyFAmrIK0q92HqVaFe
dBBURiEX1crLpK3Zc4yeyR+N7/77yksD+E7urykurr2Ocura0swzTRuzlNmiZAOA
ynvQT/45PKTVp7vJb3oY3tQE3Oa5MiiDITqx2Uej2719Qg11ZH4arT7gB+mNmWxv
tlN3XP3Rp4UIYw9ANpQsERUmJYObRuogteWaKf9dKNgdRMgCkEWHQbsi4c6q1TXt
l+N69+MFmAMSz1gD2RYqlg9y8XJtbQ8kFclcC0Cdbt4vtnS1o5cEmdE/tfdRpyvS
5r0j3WzztQHsC9dl56/VonIRoFkSXUnktjYS1d6BmPd61bA8fSuyYVGZfzN5ehsY
kxLGcepUpA0wpw87JpJ+h9/0FWP7D5SMb+Hf7WBpa7q6V9qPIJvXer5Tpde0/qWp
aa1z8RGSMh3IjuK2geAK1Y7/MUqjYvtlOH+OvWVxTMnxRzrEPH6c6zmrEgEGyOZi
wc+wt2U4n3JrFh1dSwV1mCb8FVy+yQYYVpQ165Y68fLT9bDYYrSnO9GanV851GCN
UKmBVMhwGlBZlRP6B0YsqQPHse9TeIAXHvU3zA8sFKw/GwNOrxc=
=x7s0
-----END PGP SIGNATURE-----