Bug 964969 (CVE-2013-2110) - CVE-2013-2110 php: Heap-based buffer overflow in quoted_printable_encode()
Summary: CVE-2013-2110 php: Heap-based buffer overflow in quoted_printable_encode()
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2013-2110
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 964972
TreeView+ depends on / blocked
 
Reported: 2013-05-20 08:27 UTC by Huzaifa S. Sidhpurwala
Modified: 2021-02-17 07:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-07 03:41:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Huzaifa S. Sidhpurwala 2013-05-20 08:27:51 UTC
A Heap-based buffer overflow flaw was found in the php quoted_printable_encode() function. A remote attacker could use this flaw to cause php to crash or execute arbirary code with the permission of the user running php

Comment 2 Huzaifa S. Sidhpurwala 2013-05-20 09:58:29 UTC
This flaw seems to be introduced by the following commit:

http://git.php.net/?p=php-src.git;a=commitdiff;h=18bb426587d62f93c54c40bf8535eb8416603629

which fixes the bug described in https://bugs.php.net/bug.php?id=62462

This code is not present in the version of php or php53, shipped with Red Hat Enterprise Linux 5 and 6.

Comment 3 Huzaifa S. Sidhpurwala 2013-05-20 09:59:45 UTC
Statement:

Not Vulnerable. This issue does not affect the version of php as shipped with Red Hat Enterprise Linux 5 and 6. This issue does not affect the version of php53 as shipped with Red Hat Enterprise Linux 5.

Comment 6 Huzaifa S. Sidhpurwala 2013-06-07 03:36:47 UTC
This issue was addressed in Fedora via the following updates:

Fedora-17: https://admin.fedoraproject.org/updates/php-5.4.16-1.fc17
Fedora-18: https://admin.fedoraproject.org/updates/php-5.4.16-1.fc18
Fedora-19 (upcoming):   
https://admin.fedoraproject.org/updates/php-5.5.0-0.8.RC3.fc19

Comment 7 Huzaifa S. Sidhpurwala 2013-06-07 03:41:32 UTC
Upstream bug: https://bugs.php.net/bug.php?id=64879 (private)

Commit: 
https://github.com/php/php-src/commit/93e0d78ec655f59ebfa82b2c6f8486c43651c1d0


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