{
    "containers": {
        "cna": {
            "affected": [
                {
                    "platforms": [
                        "Windows"
                    ],
                    "product": "PHP",
                    "vendor": "PHP Group",
                    "versions": [
                        {
                            "lessThan": "7.3.15",
                            "status": "affected",
                            "version": "7.3.x",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "7.4.3",
                            "status": "affected",
                            "version": "7.4.x",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "Windows"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Reported by cmb@php.net"
                }
            ],
            "datePublic": "2020-02-17T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-125",
                            "description": "CWE-125 Out-of-bounds Read",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2021-07-22T17:07:37",
                "orgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
                "shortName": "php"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://bugs.php.net/bug.php?id=79171"
                },
                {
                    "name": "GLSA-202003-57",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "https://security.gentoo.org/glsa/202003-57"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://www.tenable.com/security/tns-2021-14"
                }
            ],
            "source": {
                "defect": [
                    "https://bugs.php.net/bug.php?id=79171"
                ],
                "discovery": "INTERNAL"
            },
            "title": "heap-buffer-overflow in phar_extract_file",
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "security@php.net",
                    "DATE_PUBLIC": "2020-02-17T16:23:00.000Z",
                    "ID": "CVE-2020-7061",
                    "STATE": "PUBLIC",
                    "TITLE": "heap-buffer-overflow in phar_extract_file"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "PHP",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "platform": "Windows",
                                                        "version_affected": "<",
                                                        "version_name": "7.3.x",
                                                        "version_value": "7.3.15"
                                                    },
                                                    {
                                                        "platform": "Windows",
                                                        "version_affected": "<",
                                                        "version_name": "7.4.x",
                                                        "version_value": "7.4.3"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "PHP Group"
                            }
                        ]
                    }
                },
                "configuration": [
                    {
                        "lang": "en",
                        "value": "Windows"
                    }
                ],
                "credit": [
                    {
                        "lang": "eng",
                        "value": "Reported by cmb@php.net"
                    }
                ],
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash."
                        }
                    ]
                },
                "generator": {
                    "engine": "Vulnogram 0.0.9"
                },
                "impact": {
                    "cvss": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
                        "version": "3.1"
                    }
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-125 Out-of-bounds Read"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://bugs.php.net/bug.php?id=79171",
                            "refsource": "MISC",
                            "url": "https://bugs.php.net/bug.php?id=79171"
                        },
                        {
                            "name": "GLSA-202003-57",
                            "refsource": "GENTOO",
                            "url": "https://security.gentoo.org/glsa/202003-57"
                        },
                        {
                            "name": "https://www.tenable.com/security/tns-2021-14",
                            "refsource": "CONFIRM",
                            "url": "https://www.tenable.com/security/tns-2021-14"
                        }
                    ]
                },
                "source": {
                    "defect": [
                        "https://bugs.php.net/bug.php?id=79171"
                    ],
                    "discovery": "INTERNAL"
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T09:18:03.029Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://bugs.php.net/bug.php?id=79171"
                    },
                    {
                        "name": "GLSA-202003-57",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202003-57"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://www.tenable.com/security/tns-2021-14"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
        "assignerShortName": "php",
        "cveId": "CVE-2020-7061",
        "datePublished": "2020-02-27T20:25:14.751954Z",
        "dateReserved": "2020-01-15T00:00:00",
        "dateUpdated": "2024-09-17T01:21:01.352Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}