Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100274 - mail-mta/nbsmtp format string vulnerability
Summary: mail-mta/nbsmtp format string vulnerability
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B2 [glsa] jaervosz
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 12:31 UTC by Sune Kloppenborg Jeppesen (RETIRED)
Modified: 2005-08-02 06:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-25 12:31:56 UTC
In util.c
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-25 12:33:45 UTC
Ferdy please provide an updated ebuild. 
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2005-07-28 18:15:58 UTC
nbsmtp-1.00 (which fixes the problem) added with keywords:

alpha ~amd64 ~hppa ~ppc ~sparc x86

Cheers,
Ferdy
Comment 3 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2005-07-28 22:49:15 UTC
Arches please test and mark stable. 
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2005-07-29 05:28:33 UTC
ppc stable
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2005-07-29 07:24:57 UTC
sparc stable.
Comment 6 Thierry Carrez (RETIRED) gentoo-dev 2005-07-30 01:37:18 UTC
On further investigation, I am not sure this is a vulnerability at all. This is
an SMTP client, not a daemon, so the attack is local and may be used to elevate
privileges to... yourself ?
Comment 7 Fernando J. Pereda (RETIRED) gentoo-dev 2005-07-30 02:34:08 UTC
mmmm nope. A malicious server 'might' inject code; I had a:

syslog(something,string_from_server);

where I should have:

syslog(something,"%s",string_from_server);

HTH

Cheers,
Ferdy
Comment 8 Thierry Carrez (RETIRED) gentoo-dev 2005-07-30 03:37:02 UTC
Thanks for the details. Rerating B2. I'll ask for a CAN number to MITRE.
Comment 9 Thierry Carrez (RETIRED) gentoo-dev 2005-07-30 06:35:11 UTC
This is still missing the hppa keyword.
Comment 10 René Nussbaumer (RETIRED) gentoo-dev 2005-07-30 13:56:31 UTC
Stable on hppa
Comment 11 Thierry Carrez (RETIRED) gentoo-dev 2005-07-31 04:25:27 UTC
Ready for GLSA, waiting a little for the CAN number to be attributed.
Comment 12 Thierry Carrez (RETIRED) gentoo-dev 2005-08-02 05:46:23 UTC
Enough waiting, we'll add the CAN afterwards when it is attributed.
Comment 13 Thierry Carrez (RETIRED) gentoo-dev 2005-08-02 06:03:19 UTC
GLSA 200508-03