{
  "threat_severity" : "Moderate",
  "public_date" : "2015-05-18T00:00:00Z",
  "bugzilla" : {
    "description" : "php: invalid pointer free() in phar_tar_process_metadata()",
    "id" : "1223441",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1223441"
  },
  "cvss" : {
    "cvss_base_score" : "5.1",
    "cvss_scoring_vector" : "AV:N/AC:H/Au:N/C:P/I:P/A:P",
    "status" : "verified"
  },
  "details" : [ "The phar_parse_metadata function in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to cause a denial of service (heap metadata corruption) or possibly have unspecified other impact via a crafted tar archive.", "An invalid free flaw was found in the way PHP's Phar extension parsed Phar archives. A specially crafted archive could cause PHP to crash or, possibly, execute arbitrary code when opened." ],
  "statement" : "This issue affected all versions of PHP shipped in various Red Hat products, except version PHP 5.1.x that is shipped with Red Hat Enterprise Linux 5.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2015-07-09T00:00:00Z",
    "advisory" : "RHSA-2015:1218",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "php-0:5.3.3-46.el6_6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-23T00:00:00Z",
    "advisory" : "RHSA-2015:1135",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "php-0:5.4.16-36.ael7b_1"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-0:5.4.40-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1186",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-php-0:5.5.21-4.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1187",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-php56-php-0:5.6.5-7.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-0:5.4.40-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1186",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-php-0:5.5.21-4.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1187",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-php56-php-0:5.6.5-7.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-0:5.4.40-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1186",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-php-0:5.5.21-4.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1187",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "rh-php56-php-0:5.6.5-7.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php54-0:2.0-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php54-php-0:5.4.40-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1186",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php55-php-0:5.5.21-4.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1187",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-php56-php-0:5.6.5-7.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1186",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php55-php-0:5.5.21-4.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS",
    "release_date" : "2015-06-25T00:00:00Z",
    "advisory" : "RHSA-2015:1187",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "rh-php56-php-0:5.6.5-7.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "php",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Will not fix",
    "package_name" : "php53",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Affected",
    "package_name" : "php54-php",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2015-3307\nhttps://nvd.nist.gov/vuln/detail/CVE-2015-3307" ],
  "name" : "CVE-2015-3307",
  "csaw" : false
}