Bug 295971 - (CVE-2007-4965) CVE-2007-4965 python imageop module heap corruption
CVE-2007-4965 python imageop module heap corruption
Status: ON_QA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
http://nvd.nist.gov/nvd.cfm?cvename=C...
source=gentoo,reported=20070918,publi...
: Reopened, Security
Depends On: 373281 392031 392041 392051 430872 436512 440511 449461 486351 486352 537915
Blocks: 444136
  Show dependency treegraph
 
Reported: 2007-09-19 04:41 EDT by Tomas Hoger
Modified: 2016-05-31 21:49 EDT (History)
4 users (show)

See Also:
Fixed In Version: 2.5-14.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-10-29 15:03:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Initial attempt at a fix for CVE 2007 4965 (6.57 KB, patch)
2007-09-19 17:10 EDT, James Antill
no flags Details | Diff
Fix typo in initial patch (6.57 KB, patch)
2007-09-19 18:06 EDT, James Antill
no flags Details | Diff

  None (edit)
Description Tomas Hoger 2007-09-19 04:41:17 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-4965 to the following vulnerability:

Multiple integer overflows in the imageop module in Python 2.5.1 and earlier
allow context-dependent attackers to cause a denial of service (application
crash) and possibly obtain sensitive information (memory contents) via crafted
arguments to (1) the tovideo method, and unspecified other vectors related to
(2) imageop.c, (3) rbgimgmodule.c, and other files, which trigger heap-based
buffer overflows.

References:
http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065826.html
http://www.securityfocus.com/bid/25696

Upstream bug report for the issue:
http://bugs.python.org/issue1179
Comment 1 James Antill 2007-09-19 17:10:04 EDT
Created attachment 200091 [details]
Initial attempt at a fix for CVE 2007 4965

 I've uploaded this upstream too ... I'm not convinced it's everything that is
needed, so any security team review would be nice :)
Comment 2 James Antill 2007-09-19 18:06:56 EDT
Created attachment 200211 [details]
Fix typo in initial patch

 Of course, initial patch had a typo in it.
Comment 3 James Antill 2007-10-19 12:15:29 EDT
 This should now be fixed, please test.
Comment 7 Fedora Update System 2007-10-24 03:17:42 EDT
python-2.5-14.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update python'
Comment 8 Fedora Update System 2007-10-29 15:03:19 EDT
python-2.5-14.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Lubomir Kundrak 2007-11-09 12:55:52 EST
James, please do an update for FC6 also, use 373281 for it. Thanks!
Comment 10 James Antill 2007-11-09 14:30:18 EST
 So given this applies to FC-6 and we want to fix that ... I assume we want to
fix RHEL-5 too? (very close to FC-6 python). I've put the patch in there too,
but I need a BZ with flags etc.
 RHEL-4 looks vulnerable too, as does RHEL-3.
Comment 15 Red Hat Product Security 2008-01-16 04:03:34 EST
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2007-1076.html (RHEL3, RHEL4)

Fedora:
  https://admin.fedoraproject.org/updates/F7/FEDORA-2007-2663
Comment 21 errata-xmlrpc 2009-07-27 05:23:26 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:1176 https://rhn.redhat.com/errata/RHSA-2009-1176.html

Note You need to log in before you can comment on or make changes to this bug.