{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2011-04-21T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Integer overflow in the phar_parse_tarfile function in tar.c in the phar extension in PHP before 5.3.14 and 5.4.x before 5.4.4 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted tar file that triggers a heap-based buffer overflow."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2012-07-23T09:00:00",
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=823594"
                },
                {
                    "name": "SUSE-SU-2012:0840",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_SUSE"
                    ],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=61065"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://www.php.net/ChangeLog-5.php"
                },
                {
                    "name": "APPLE-SA-2012-09-19-2",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_APPLE"
                    ],
                    "url": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "http://support.apple.com/kb/HT5501"
                },
                {
                    "name": "[oss-security] 20120522 Re: CVE request: PHP Phar - arbitrary code execution",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "http://openwall.com/lists/oss-security/2012/05/22/10"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-06T19:34:25.269Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=158d8a6b088662ce9d31e0c777c6ebe90efdc854"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=823594"
                    },
                    {
                        "name": "SUSE-SU-2012:0840",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_SUSE",
                            "x_transferred"
                        ],
                        "url": "http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=61065"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://www.php.net/ChangeLog-5.php"
                    },
                    {
                        "name": "APPLE-SA-2012-09-19-2",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_APPLE",
                            "x_transferred"
                        ],
                        "url": "http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "http://support.apple.com/kb/HT5501"
                    },
                    {
                        "name": "[oss-security] 20120522 Re: CVE request: PHP Phar - arbitrary code execution",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "http://openwall.com/lists/oss-security/2012/05/22/10"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://0x1byte.blogspot.com/2011/04/php-phar-extension-heap-overflow.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "cveId": "CVE-2012-2386",
        "datePublished": "2012-07-07T10:00:00",
        "dateReserved": "2012-04-19T00:00:00",
        "dateUpdated": "2024-08-06T19:34:25.269Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}