Bug 8530

Summary: Little buffer overflow
Product: [Retired] Red Hat Linux Reporter: Joao Sacramento <zhp>
Component: pineAssignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-18 15:39:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joao Sacramento 2000-01-17 10:31:09 UTC
Lately, I found out that pine 4.10, which ships with Red Hat's
latest distributions, has a buggy pico. We can easily overflow
pico while it is evaluating command-line arguments, thus forcing
it to leave a coredump.
Although I haven't checked out pine's source, yet, I suspect
there's a badly written strcpy() out there.

Just start pico and feed it with a 101+ character long filename. It should
immeadiately die. I informed the UW PINE maintainers, and the latest
versions are already fixed. Therefore, 4.20 is not affected.

BTW, joe is also vulnerable.

Cheers,
Joao "zhp" Sacramento

Comment 1 Bernhard Rosenkraenzer 2000-01-18 15:39:59 UTC
We've updated to 4.21 a while ago - that should fix it.