6.5Medium

CVE-2024-2756__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix

PHP Group PHP; php archive_tar Published: (2 years ago)

Description

Due to an incomplete fix to CVE-2022-31629 https://github.com/advisories/GHSA-c43m-486j-j32p , network and same-site attackers can set a standard insecure cookie in the victim's browser which is treated as a __Host- or __Secure- cookie by PHP applications.

Weakness (CWE): CWE-20

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
php archive_tar —
PHP Group PHP 8.1.* – < 8.1.28, 8.2.* – < 8.2.18, 8.3.* – < 8.3.5

References and patches