openbsd-ports/mail/p5-Mail-SpamAssassin
lebel f6137b44bd Added patch from Timo Sirainen <tss@iki.fi> to fix exploit.
---cut---
Well, I was going to wait until 2.50 release, but it seems to be taking and
this likely affects only few installations. Besides, it's been in their
public bugzilla for over a month. So:

Attacker may be able to execute arbitrary code by sending a specially
crafted e-mail to a system using SpamAssassin's spamc program in BSMTP mode
(-B option). Versions from 2.40 to 2.43 are affected.

Exim users especially should check if they're affected, the -B option is
used in several Exim+SpamAssassin HOWTOs.

The problem is with escaping '.' characters at the beginning of lines.
Off-by-one bounds checking error allows writing '.' character past a
buffer, overwriting the stack frame address. Depending on system this may
be exploitable. Pre-built Debian unstable/x86 package wasn't vulnerable, my
self compiled was.
---cut---
2003-01-26 16:43:45 +00:00
..
files update mail/p5-Mail-SpamAssassin to 2.43; from MAINTAINER 2002-10-17 17:46:31 +00:00
patches Added patch from Timo Sirainen <tss@iki.fi> to fix exploit. 2003-01-26 16:43:45 +00:00
pkg Install the man pages for spamd/spamc, move spamd to section 8. 2002-12-03 07:10:06 +00:00
distinfo update mail/p5-Mail-SpamAssassin to 2.43; from MAINTAINER 2002-10-17 17:46:31 +00:00
Makefile Added patch from Timo Sirainen <tss@iki.fi> to fix exploit. 2003-01-26 16:43:45 +00:00