GLSA-200409-32 : getmail: Filesystem overwrite vulnerability

This script is Copyright (C) 2004-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200409-32
(getmail: Filesystem overwrite vulnerability)

David Watson discovered a vulnerability in getmail when it is
configured to run as root and deliver mail to the maildirs/mbox files
of untrusted local users. A malicious local user can then exploit a
race condition, or a similar symlink attack, and potentially cause
getmail to create or overwrite files in any directory on the system.

Impact :

An untrusted local user could potentially create or overwrite files in
any directory on the system. This vulnerability may also be exploited
to have arbitrary commands executed as root.

Workaround :

Do not run getmail as a privileged user
or, in version 4, use an
external MDA with explicitly configured user and group privileges.

See also :

Solution :

All getmail users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=net-mail/getmail-4.2.0'
# emerge '>=net-mail/getmail-4.2.0'

Risk factor :

Low / CVSS Base Score : 2.1

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14809 (gentoo_GLSA-200409-32.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0880