portage-ng / portage / net-mail / mailutils / 3.21
portage-ng glsa
5 advisories reference net-mail/mailutils · none place version 3.21 in a vulnerable range
▸ GLSA 202310-13 GNU Mailutils: unexpected processsing of escape sequences this version unaffected high remote 2023-10-19

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

Announced
2023-10-19
Revised
2023-10-19
Access
remote
Bugs
#802867
Advisory
https://security.gentoo.org/glsa/202310-13

Affected packages

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

Background

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

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

▸ GLSA 202006-12 GNU Mailutils: Privilege escalation this version unaffected high local 2020-06-13

A vulnerability has been found in GNU Mailutils allowing privilege escalation.

Announced
2020-06-13
Revised
2020-06-13
Access
local
Bugs
#700806
Advisory
https://security.gentoo.org/glsa/202006-12

Affected packages

PackageArchVulnerableUnaffected
net-mail/mailutils*< 3.8>= 3.8

Background

The GNU Mailutils are a collection of mail-related utilities, including an IMAP4 server (imap4d).

Description

GNU Mailutils runs maidag by default with setuid root permissions.

Impact

An attacker can use this to write to arbitrary files as root.

Workaround

There is no known workaround at this time.

Resolution

All GNU Mailutils users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/mailutils-3.8"

References

▸ GLSA 200509-10 Mailutils: Format string vulnerability in imap4d this version unaffected high remote 2005-09-17

The imap4d server contains a vulnerability allowing an authenticated user to execute arbitrary code with the privileges of the imap4d process.

Announced
2005-09-17
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#105458
Advisory
https://security.gentoo.org/glsa/200509-10

Affected packages

PackageArchVulnerableUnaffected
net-mail/mailutils*< 0.6-r2>= 0.6-r2

Background

The GNU Mailutils are a collection of mail-related utilities, including an IMAP4 server (imap4d).

Description

The imap4d server contains a format string bug in the handling of IMAP SEARCH requests.

Impact

An authenticated IMAP user could exploit the format string error in imap4d to execute arbitrary code as the imap4d user, which is usually root.

Workaround

There are no known workarounds at this time.

Resolution

All GNU Mailutils users should upgrade to the latest available version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/mailutils-0.6-r2"

References

▸ GLSA 200506-02 Mailutils: SQL Injection this version unaffected normal remote 2005-06-06

GNU Mailutils is vulnerable to SQL command injection attacks.

Announced
2005-06-06
Revised
2005-06-06
Access
remote
Bugs
#94824
Advisory
https://security.gentoo.org/glsa/200506-02

Affected packages

PackageArchVulnerableUnaffected
net-mail/mailutils*< 0.6-r1>= 0.6-r1

Background

GNU Mailutils is a collection of mail-related utilities.

Description

When GNU Mailutils is built with the "mysql" or "postgres" USE flag, the sql_escape_string function of the authentication module fails to properly escape the "\" character, rendering it vulnerable to a SQL command injection.

Impact

A malicious remote user could exploit this vulnerability to inject SQL commands to the underlying database.

Workaround

There is no known workaround at this time.

Resolution

All GNU Mailutils users should upgrade to the latest available version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/mailutils-0.6-r1"

References

▸ GLSA 200505-20 Mailutils: Multiple vulnerabilities in imap4d and mail this version unaffected high remote 2005-05-27

The imap4d server and the mail utility from GNU Mailutils contain multiple vulnerabilities, potentially allowing a remote attacker to execute arbitrary code with root privileges.

Announced
2005-05-27
Revised
2005-05-27
Access
remote
Bugs
#94053
Advisory
https://security.gentoo.org/glsa/200505-20

Affected packages

PackageArchVulnerableUnaffected
net-mail/mailutils*< 0.6-r1>= 0.6-r1

Background

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

Description

infamous41d discovered several vulnerabilities in GNU Mailutils. imap4d does not correctly implement formatted printing of command tags (CAN-2005-1523), fails to validate the range sequence of the "FETCH" command (CAN-2005-1522), and contains an integer overflow in the "fetch_io" routine (CAN-2005-1521). mail contains a buffer overflow in "header_get_field_name()" (CAN-2005-1520).

Impact

A remote attacker can exploit the format string and integer overflow in imap4d to execute arbitrary code as the imap4d user, which is usually root. By sending a specially crafted email message, a remote attacker could exploit the buffer overflow in the "mail" utility to execute arbitrary code with the rights of the user running mail. Finally, a remote attacker can also trigger a Denial of Service by sending a malicious FETCH command to an affected imap4d, causing excessive resource consumption.

Workaround

There are no known workarounds at this time.

Resolution

All GNU Mailutils users should upgrade to the latest available version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/mailutils-0.6-r1"

References