CVE-2008-5005
Multiple stack-based buffer overflows in (1) University of Washington IMAP Toolkit 2002 through 2007c, (2) University of Washington Alpine 2.00 and earlier, and (3) Panda IMAP allow (a) local users to gain privileges by specifying a long folder extension argument on the command line to the tmail or dmail program; and (b) remote attackers to execute arbitrary code by sending e-mail to a destination mailbox name composed of a username and '+' character followed by a long string, processed by the tmail or possibly dmail program.
What to do
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 12 | uw-imap | Fixed | 7:2007d~dfsg-1 | DEBIAN-CVE-2008-5005 |
| Red Hat Enterprise Linux 3 | imap | Fixed | 1:2002d-15 | RHSA-2009:0275 |
| Red Hat Enterprise Linux 3 | imap-devel | Fixed | 1:2002d-15 | RHSA-2009:0275 |
| Red Hat Enterprise Linux 3 | imap-utils | Fixed | 1:2002d-15 | RHSA-2009:0275 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00082.html (vendor-advisory)
- http://www.debian.org/security/2008/dsa-1685 (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00058.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2009-0275.html (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:146 (vendor-advisory)
References
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10485
- http://panda.com/imap/
- http://www.openwall.com/lists/oss-security/2008/11/03/3
- https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00082.html
- http://www.bitsec.com/en/rad/bsa-081103.txt
- http://www.bitsec.com/en/rad/bsa-081103.c
- http://support.avaya.com/elmodocs2/security/ASA-2009-065.htm
- http://www.openwall.com/lists/oss-security/2008/11/03/5
- http://www.washington.edu/alpine/tmailbug.html
- http://securityreason.com/securityalert/4570
- http://www.securityfocus.com/archive/1/498002/100/0/threaded
- http://mailman2.u.washington.edu/pipermail/imap-uw/2008-October/002268.html
- http://www.debian.org/security/2008/dsa-1685
- http://secunia.com/advisories/32483
- http://www.securityfocus.com/bid/32072
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.