{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-31628",
        "assignerOrgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
        "assignerShortName": "php",
        "datePublished": "2022-09-28T22:25:09.309824Z",
        "dateUpdated": "2024-09-16T23:36:22.115Z",
        "dateReserved": "2022-05-25T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "phar wrapper can occur dos when using quine gzip file",
            "datePublic": "2022-09-27T00:00:00",
            "providerMetadata": {
                "orgId": "dd77f84a-d19a-4638-8c3d-a322d820ed2b",
                "shortName": "php",
                "dateUpdated": "2022-12-15T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress \"quines\" gzip files, resulting in an infinite loop."
                }
            ],
            "affected": [
                {
                    "vendor": "PHP Group",
                    "product": "PHP",
                    "versions": [
                        {
                            "version": "7.4.X",
                            "status": "affected",
                            "lessThan": "7.4.31",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.0.X",
                            "status": "affected",
                            "lessThan": "8.0.24",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.1.X",
                            "status": "affected",
                            "lessThan": "8.1.11",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugs.php.net/bug.php?id=81726"
                },
                {
                    "name": "FEDORA-2022-0b77fbd9e7",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/"
                },
                {
                    "name": "FEDORA-2022-afdea1c747",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/"
                },
                {
                    "name": "FEDORA-2022-f204e1d0ed",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/"
                },
                {
                    "name": "DSA-5277",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2022/dsa-5277"
                },
                {
                    "name": "GLSA-202211-03",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202211-03"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20221209-0001/"
                },
                {
                    "name": "[debian-lts-announce] 20221215 [SECURITY] [DLA 3243-1] php7.3 security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "reported by ohseungju5 at gmail dot com"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "HIGH",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "LOW",
                        "baseScore": 2.3,
                        "baseSeverity": "LOW"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-674 Uncontrolled Recursion",
                            "cweId": "CWE-674"
                        }
                    ]
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "source": {
                "advisory": "https://bugs.php.net/bug.php?id=81726",
                "defect": [
                    "81726"
                ],
                "discovery": "EXTERNAL"
            },
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to PHP 7.4.31, 8.0.24, or 8.1.11."
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T07:25:59.512Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugs.php.net/bug.php?id=81726",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "FEDORA-2022-0b77fbd9e7",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/"
                    },
                    {
                        "name": "FEDORA-2022-afdea1c747",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/"
                    },
                    {
                        "name": "FEDORA-2022-f204e1d0ed",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/"
                    },
                    {
                        "name": "DSA-5277",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2022/dsa-5277"
                    },
                    {
                        "name": "GLSA-202211-03",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202211-03"
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20221209-0001/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "[debian-lts-announce] 20221215 [SECURITY] [DLA 3243-1] php7.3 security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html"
                    }
                ]
            }
        ]
    }
}