Bug 1305540 - php: Null pointer dereference in phar_tar_setupmetadata()
php: Null pointer dereference in phar_tar_setupmetadata()
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160116,reported=2...
: Security
Depends On: 1305565
Blocks: 1305564
  Show dependency treegraph
 
Reported: 2016-02-08 09:35 EST by Adam Mariš
Modified: 2017-09-07 08:21 EDT (History)
11 users (show)

See Also:
Fixed In Version: php 5.6.18, php 5.5.32
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-09-07 08:21:53 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)

  None (edit)
Description Adam Mariš 2016-02-08 09:35:27 EST
A NULL pointere dereference vulnerability in tar's metadata parsing was reported.

Upstream bug:

https://bugs.php.net/bug.php?id=71391

Upstream patch:

https://git.php.net/?p=php-src.git;a=commit;h=1c1b8b69982375700d4b011eb89ea48b66dbd5aa
Comment 1 Adam Mariš 2016-02-08 10:13:08 EST
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1305565]
Comment 2 Tomas Hoger 2017-09-07 08:20:56 EDT
This bug is not triggered by a malformed phar archive, but requires a PHP script to perform specific operation on a tar-format phar archive - call to a Phar::delMetadata function.  That's rather unlikely, and does not seem to be worth calling security.

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