Gentoo Logo

Mailutils: SQL Injection


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200506-02 / mailutils
Release Date June 06, 2005
Latest Revision June 06, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-mail/mailutils < 0.6-r1 >= 0.6-r1 All supported architectures

Related bugreports: #94824


GNU Mailutils is vulnerable to SQL command injection attacks.

2.  Impact Information


GNU Mailutils is a collection of mail-related utilities.


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.


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

3.  Resolution Information


There is no known workaround at this time.


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

Code Listing 3.1: Resolution

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

4.  References


Page updated June 06, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.