Bug 455018 (CVE-2008-3144)

Summary: CVE-2008-3144 python: Potential integer underflow and overflow in the PyOS_vsnprintf C API function
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: james.antill, kreilly, psplicha, tao
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-09 20:20:34 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: 486114, 486329, 486330, 486351, 486352, 537915    
Bug Blocks:    

Description Jan Lieskovsky 2008-07-11 14:12:41 UTC
Description of problem:

Fix potential integer underflow and overflow conditions in the PyOS_vsnprintf
C API function.

Proposed upstream patch:

http://svn.python.org/view?rev=63883&view=rev

Comment 2 James Antill 2008-07-11 15:00:35 UTC
 Does this do anything if python knows you have a working snprintf()? -- Ahh it
does "str[size-1] = '\0';" even when size == 0? ... can that happen? Do we
really wan tto include all the other parts of the patch, given that we won't be
testing any of it -- and won't use it?


Comment 3 Jan Lieskovsky 2008-10-30 14:45:22 UTC
The Red Hat Security Response Team has rated this issue as having low security
impact, a future update may address this flaw.  More information regarding
issue severity can be found here:
http://www.redhat.com/security/updates/classification/

Comment 10 errata-xmlrpc 2009-07-27 09:23:15 UTC
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

Comment 11 errata-xmlrpc 2009-07-27 09:35:41 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

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

Comment 12 errata-xmlrpc 2009-07-27 09:37:35 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 3

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

Comment 15 Vincent Danen 2012-02-09 20:20:06 UTC
Description:

Multiple integer underflow and overflow flaws were found in the Python snprintf() wrapper implementation. An attacker could use these flaws to cause a denial of service (memory corruption).