portage-ng / portage / net-mail / fetchmail / 6.6.9
portage-ng glsa
6 advisories reference net-mail/fetchmail · none place version 6.6.9 in a vulnerable range
▸ GLSA 202209-14 Fetchmail: Multiple Vulnerabilities this version unaffected low remote 2022-09-25

Multiple vulnerabilities have been discovered in Fetchmail, the worst of which could result in email disclosure to third parties.

Announced
2022-09-25
Revised
2022-09-25
Access
remote
Bugs
#810676 #804921
Advisory
https://security.gentoo.org/glsa/202209-14

Affected packages

PackageArchVulnerableUnaffected
net-mail/fetchmail*< 6.4.22>= 6.4.22

Background

Fetchmail is a remote mail retrieval and forwarding utility.

Description

Multiple vulnerabilities have been discovered in Fetchmail. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All Fetchmail users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.4.22"

References

▸ GLSA 201006-12 Fetchmail: Multiple vulnerabilities this version unaffected normal remote 2010-06-01

Multiple vulnerabilities have been reported in Fetchmail, allowing remote attackers to execute arbitrary code or to conduct Man-in-the-Middle attacks.

Announced
2010-06-01
Revised
2010-06-01
Access
remote
Bugs
#280537 #307761
Advisory
https://security.gentoo.org/glsa/201006-12

Affected packages

PackageArchVulnerableUnaffected
net-mail/fetchmail*< 6.3.14>= 6.3.14

Background

Fetchmail is a remote mail retrieval and forwarding utility.

Description

Multiple vulnerabilities have been reported in Fetchmail:

  • The sdump() function might trigger a heap-based buffer overflow during the escaping of non-printable characters with the high bit set from an X.509 certificate (CVE-2010-0562).
  • The vendor reported that Fetchmail does not properly handle Common Name (CN) fields in X.509 certificates that contain an ASCII NUL character. Specifically, the processing of such fields is stopped at the first occurrence of a NUL character. This type of vulnerability was recently discovered by Dan Kaminsky and Moxie Marlinspike (CVE-2009-2666).

Impact

A remote attacker could entice a user to connect with Fetchmail to a specially crafted SSL-enabled server in verbose mode, possibly resulting in the execution of arbitrary code with the privileges of the user running the application. NOTE: The issue is only existent on platforms on which char is signed.

Furthermore, a remote attacker might employ a specially crafted X.509 certificate, containing a NUL character in the Common Name field to conduct man-in-the-middle attacks on SSL connections made using Fetchmail.

Workaround

There is no known workaround at this time.

Resolution

All Fetchmail users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.3.14"

References

▸ GLSA 200701-13 Fetchmail: Denial of Service and password disclosure this version unaffected normal remote 2007-01-22

Fetchmail has been found to have numerous vulnerabilities allowing for Denial of Service and password disclosure.

Announced
2007-01-22
Revised
2007-01-22
Access
remote
Bugs
#160463
Advisory
https://security.gentoo.org/glsa/200701-13

Affected packages

PackageArchVulnerableUnaffected
net-mail/fetchmail*< 6.3.6>= 6.3.6

Background

Fetchmail is a remote mail retrieval and forwarding utility.

Description

Neil Hoggarth has discovered that when delivering messages to a message delivery agent by means of the "mda" option, Fetchmail passes a NULL pointer to the ferror() and fflush() functions when refusing a message. Isaac Wilcox has discovered numerous means of plain-text password disclosure due to errors in secure connection establishment.

Impact

An attacker could deliver a message via Fetchmail to a message delivery agent configured to refuse the message, and crash the Fetchmail process. SMTP and LMTP delivery modes are not affected by this vulnerability. An attacker could also perform a Man-in-the-Middle attack, and obtain plain-text authentication credentials of users connecting to a Fetchmail process.

Workaround

There is no known workaround at this time.

Resolution

All fetchmail users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.3.6"

References

▸ GLSA 200511-06 fetchmail: Password exposure in fetchmailconf this version unaffected normal local 2005-11-06

fetchmailconf fails to properly handle file permissions, temporarily exposing sensitive information to other local users.

Announced
2005-11-06
Revised
2005-11-06
Access
local
Bugs
#110366
Advisory
https://security.gentoo.org/glsa/200511-06

Affected packages

PackageArchVulnerableUnaffected
net-mail/fetchmail*< 6.2.5.2-r1>= 6.2.5.2-r1

Background

fetchmail is a utility that retrieves and forwards mail from remote systems using IMAP, POP, and other protocols. It ships with fetchmailconf, a graphical utility used to create configuration files.

Description

Thomas Wolff discovered that fetchmailconf opens the configuration file with default permissions, writes the configuration to it, and only then restricts read permissions to the owner.

Impact

A local attacker could exploit the race condition to retrieve sensitive information like IMAP/POP passwords.

Workaround

Run "umask 077" to temporarily strengthen default permissions, then run "fetchmailconf" from the same shell.

Resolution

All fetchmail users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.2.5.2-r1"

References

▸ GLSA 200507-21 fetchmail: Buffer Overflow this version unaffected normal remote 2005-07-25

fetchmail is susceptible to a buffer overflow resulting in a Denial of Service or arbitrary code execution.

Announced
2005-07-25
Revised
2005-07-25
Access
remote
Bugs
#99865
Advisory
https://security.gentoo.org/glsa/200507-21

Affected packages

PackageArchVulnerableUnaffected
net-mail/fetchmail*< 6.2.5.2>= 6.2.5.2

Background

fetchmail is a utility that retrieves and forwards mail from remote systems using IMAP, POP, and other protocols.

Description

fetchmail does not properly validate UIDs coming from a POP3 mail server. The UID is placed in a fixed length buffer on the stack, which can be overflown.

Impact

Very long UIDs returned from a malicious or compromised POP3 server can cause fetchmail to crash, resulting in a Denial of Service, or allow arbitrary code to be placed on the stack.

Workaround

There are no known workarounds at this time.

Resolution

All fetchmail users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.2.5.2"

References

▸ GLSA 200403-10 Fetchmail 6.2.5 fixes a remote DoS this version unaffected normal remote 2004-03-30

Fetchmail versions 6.2.4 and earlier can be crashed by sending a specially-crafted email to a fetchmail user.

Announced
2004-03-30
Revised
2004-03-30
Access
remote
Bugs
#37717
Advisory
https://security.gentoo.org/glsa/200403-10

Affected packages

PackageArchVulnerableUnaffected
net-mail/fetchmail*<= 6.2.4>= 6.2.5

Background

Fetchmail is a utility that retrieves and forwards mail from remote systems using IMAP, POP, and other protocols.

Description

Fetchmail versions 6.2.4 and earlier can be crashed by sending a specially-crafted email to a fetchmail user. This problem occurs because Fetchmail does not properly allocate memory for long lines in an incoming email.

Impact

Fetchmail users who receive a malicious email may have their fetchmail program crash.

Workaround

While a workaround is not currently known for this issue, all users are advised to upgrade to the latest version of fetchmail.

Resolution

Fetchmail users should upgrade to version 6.2.5 or later:

# emerge sync
# emerge -pv ">=net-mail/fetchmail-6.2.5"
# emerge ">=net-mail/fetchmail-6.2.5"

References