July 2005
Gentoo - Three Security Advisories
ID: 00625
Ref: 579/05
Date: 26 July 2005:11:43:16
Version: 1
Title: Gentoo - Three Security Advisories
Abstract: 1. Fetchmail: Buffer Overflow [GLSA 200507-21], 2. Sandbox: Insecure temporary file handling [GLSA 200507-22], 3. Kopete: Vulnerability in included Gadu library [GLSA 200507-23]
Vendors affected: Gentoo
Operating systems affected: Gentoo
Applications affected: Gentoo
Title
=====
Gentoo - Three Security Advisories:
1. Fetchmail: Buffer Overflow [GLSA 200507-21]
2. Sandbox: Insecure temporary file handling [GLSA 200507-22]
3. Kopete: Vulnerability in included Gadu library [GLSA 200507-23]
Detail
======
Security advisory summaries:
1. fetchmail is susceptible to a buffer overflow resulting in a Denial of
Service or arbitrary code execution.
2. The sandbox utility may create temporary files in an insecure manner.
3. Kopete is vulnerable to several input validation vulnerabilities which
may lead to execution of arbitrary code.
Security advisory content follows:
1.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200507-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: fetchmail: Buffer Overflow
Date: July 25, 2005
Bugs: #99865
ID: 200507-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
fetchmail is susceptible to a buffer overflow resulting in a Denial of
Service or arbitrary code execution.
Background
==========
fetchmail is a utility that retrieves and forwards mail from remote
systems using IMAP, POP, and other protocols.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-mail/fetchmail < 6.2.5.2 >= 6.2.5.2
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
==========
[ 1 ] Fetchmail Security Advisory
http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt
[ 2 ] CAN-2005-2335
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2335
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200507-21.xml
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
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 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.
http://creativecommons.org/licenses/by-sa/2.0
2.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200507-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Low
Title: sandbox: Insecure temporary file handling
Date: July 25, 2005
Bugs: #96782
ID: 200507-22
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
The sandbox utility may create temporary files in an insecure manner.
Background
==========
sandbox is a Gentoo Linux utility used by the Portage package
management system.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-apps/sandbox < 1.2.11 >= 1.2.11
Description
===========
The Gentoo Linux Security Audit Team discovered that the sandbox
utility was vulnerable to multiple TOCTOU (Time of Check, Time of Use)
file creation race conditions.
Impact
======
Local users may be able to create or overwrite arbitrary files with the
permissions of the root user.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All sandbox users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/sandbox-1.2.11"
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200507-22.xml
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
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 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.
http://creativecommons.org/licenses/by-sa/2.0
3.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200507-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Kopete: Vulnerability in included Gadu library
Date: July 25, 2005
Bugs: #99754
ID: 200507-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Kopete is vulnerable to several input validation vulnerabilities which
may lead to execution of arbitrary code.
Background
==========
KDE is a feature-rich graphical desktop environment for Linux and
Unix-like Operating Systems. Kopete (also part of kdenetwork) is the
KDE Instant Messenger.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 kde-base/kdenetwork < 3.4.1-r1 >= 3.4.1-r1
*>= 3.3.2-r2
2 kde-base/kopete < 3.4.1-r1 >= 3.4.1-r1
-------------------------------------------------------------------
2 affected packages on all of their supported architectures.
-------------------------------------------------------------------
Description
===========
Kopete contains an internal copy of libgadu and is therefore subject to
several input validation vulnerabilities in libgadu.
Impact
======
A remote attacker could exploit this vulnerability to execute arbitrary
code or crash Kopete.
Workaround
==========
Delete all Gadu Gadu contacts.
Resolution
==========
All Kopete users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose kde-base/kdenetwork
All KDE Split Ebuild Kopete users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=kde-base/kopete-3.4.1-r1"
References
==========
[ 1 ] KDE Security Advisory: libgadu vulnerabilities
http://www.kde.org/info/security/advisory-20050721-1.txt
[ 2 ] CAN-2005-1852
http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1852
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200507-23.xml
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
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2005 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.
http://creativecommons.org/licenses/by-sa/2.0