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.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "7.4.31"
},
{
"introduced": "8.0.0"
},
{
"fixed": "8.0.24"
},
{
"introduced": "8.1.0"
},
{
"fixed": "8.1.11"
}
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31628.json"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "35"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "36"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "37"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "10.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "11.0"
}
]
}
]