Bug 494530 (CVE-2009-1271) - CVE-2009-1271 php: crash on malformed input in json_decode()
Summary: CVE-2009-1271 php: crash on malformed input in json_decode()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-1271
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 487371
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-07 10:50 UTC by Tomas Hoger
Modified: 2021-11-12 19:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-16 07:05:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:0350 0 normal SHIPPED_LIVE Moderate: php security update 2009-04-14 17:14:37 UTC

Description Tomas Hoger 2009-04-07 10:50:19 UTC
PHP 5.2.9 upstream release notes mention following security fix:

  Fixed a segfault when malformed string is passed to json_decode(). (Scott)

  http://www.php.net/releases/5_2_9.php

Upstream patch:
http://cvs.php.net/viewvc.cgi/php-src/ext/json/JSON_parser.c?r1=1.1.2.14&r2=1.1.2.15

JSON extension was only introduced in PHP 5.2.0, earlier versions of php (such as those shipped in Red Hat Enterprise Linux 2.1, 3, 4, and 5) are not affected by this problem.

Comment 2 Tomas Hoger 2009-04-09 07:38:21 UTC
CVE-2009-1271:
The JSON_parser function (ext/json/JSON_parser.c) in PHP 5.2.x before
5.2.9 allows remote attackers to cause a denial of service
(segmentation fault) via a malformed string to the json_decode API
function.

Comment 3 errata-xmlrpc 2009-04-14 17:14:55 UTC
This issue has been addressed in following products:

  Red Hat Web Application Stack for RHEL 5

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

Comment 4 Fedora Update System 2009-05-30 02:33:40 UTC
maniadrive-1.2-13.fc10, php-5.2.9-2.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2009-05-30 02:37:39 UTC
maniadrive-1.2-13.fc9, php-5.2.9-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


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