CVE-2022-31629

    Dashboard / Vulnerabilities / CVE-2022-31629

    CVE-2022-31629

    Published: 28 Sept 2022Last Modified: 12 Aug 2026

    Summary: $_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

    Details: In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    POST_PHP7_NSAPI_REMOVAL

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-31629 | CVE-DB