Red Hat Bugzilla – Bug 295971
CVE-2007-4965 python imageop module heap corruption
Last modified: 2009-11-16 14:14:03 EST
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
Upstream bug report for the issue:
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 :)
Created attachment 200211 [details]
Fix typo in initial patch
Of course, initial patch had a typo in it.
This should now be fixed, please test.
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'
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.
James, please do an update for FC6 also, use 373281 for it. Thanks!
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.
This issue was addressed in:
Red Hat Enterprise Linux:
http://rhn.redhat.com/errata/RHSA-2007-1076.html (RHEL3, RHEL4)
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