Bug 174683

Summary: CVE-2005-3962 Perl integer overflow issue
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: perlAssignee: Jason Vas Dias <jvdias>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: poelstra, prockai, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,source=fulldisclosure,public=20051201,reported=20051201
Fixed In Version: RHSA-2005-880 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-20 14:31:43 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:
Bug Depends On:    
Bug Blocks: 168429, 174717    
Attachments:
Description Flags
Proposed patch
none
upstream patch #26240 for this issue
none
Latest upstream patch for this issue for perl 5.8.4 - 5.8.7
none
All the current upstream patches for this issue none

Description Josh Bressers 2005-12-01 13:32:24 UTC
Perl integer overflow issue

There exists an integer overflow problem in Perl which can lead to a
string format issue.  If a large enough integer is supplied to a
printf statement which uses the %n conversion, it may be possible to
execute arbitrary code.  This problem will not be easy to remotely
exploit as a very poorly written script will first be needed.

http://marc.theaimsgroup.com/?l=full-disclosure&m=113342788118630&w=2

Doesn't Affec: RHEL2.1 

This issue also affects RHEL3

Comment 1 Josh Bressers 2005-12-01 13:39:02 UTC
Created attachment 121682 [details]
Proposed patch

Comment 2 Jason Vas Dias 2005-12-01 17:27:13 UTC
Created attachment 121695 [details]
upstream patch #26240 for this issue

Comment 3 Jason Vas Dias 2005-12-01 17:28:40 UTC
Now applying to perl-5.8.5-18.RHEL4

Comment 4 Jason Vas Dias 2005-12-01 19:48:08 UTC
Fixed with perl-5.8.5-18.RHEL4

Comment 8 Jason Vas Dias 2005-12-13 21:35:02 UTC
Created attachment 122197 [details]
Latest upstream patch for this issue for perl 5.8.4 - 5.8.7

Comment 9 Jason Vas Dias 2005-12-13 21:40:48 UTC
Created attachment 122198 [details]
All the current upstream patches for this issue

Upstream patches 26282 26283 26284 26322 26331 26333 for this issue.

Comment 10 Jason Vas Dias 2005-12-13 21:43:32 UTC
PARTIALLY fixed with  perl-5.8.5-18.RHEL4;  patches 26282 26283 26284 applied
with perl-5.8.5-20 ; now generating perl-5.8.5-22 with what I hope will be
the FINAL upstream patches 26322 26331 26333 for this issue.


Comment 12 Fedora Update System 2005-12-14 20:32:27 UTC
From User-Agent: XML-RPC

perl-5.8.5-22.FC3 has been pushed for FC3, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Comment 14 Red Hat Bugzilla 2005-12-20 14:31:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-880.html