{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "CVE_data_meta": {
        "ID": "CVE-2021-31408",
        "ASSIGNER": "security@vaadin.com",
        "DATE_PUBLIC": "2021-04-20T08:17:00.000Z",
        "TITLE": "Server session is not invalidated when logout() helper method of Authentication module is used in Vaadin 18-19",
        "AKA": "",
        "STATE": "PUBLIC"
    },
    "source": {
        "defect": [],
        "advisory": "",
        "discovery": "INTERNAL"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Vaadin",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Vaadin",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_name": "",
                                            "version_affected": ">=",
                                            "version_value": "18.0.0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "",
                                            "version_affected": "<",
                                            "version_value": "19.0.0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "",
                                            "version_affected": ">=",
                                            "version_value": "19.0.0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "",
                                            "version_affected": "<=",
                                            "version_value": "19.0.3",
                                            "platform": ""
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "flow-client",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_name": "",
                                            "version_affected": ">=",
                                            "version_value": "5.0.0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "",
                                            "version_affected": "<",
                                            "version_value": "6.0.0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "",
                                            "version_affected": ">=",
                                            "version_value": "6.0.0",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "",
                                            "version_affected": "<=",
                                            "version_value": "6.0.4",
                                            "platform": ""
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-613 Insufficient Session Expiration"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Authentication.logout() helper in com.vaadin:flow-client versions 5.0.0 prior to 6.0.0 (Vaadin 18), and 6.0.0 through 6.0.4 (Vaadin 19.0.0 through 19.0.3) uses incorrect HTTP method, which, in combination with Spring Security CSRF protection, allows local attackers to access Fusion endpoints after the user attempted to log out."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://vaadin.com/security/cve-2021-31408",
                "name": "https://vaadin.com/security/cve-2021-31408"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/vaadin/flow/pull/10577",
                "name": "https://github.com/vaadin/flow/pull/10577"
            }
        ]
    },
    "configuration": [],
    "impact": {
        "cvss": {
            "version": "3.1",
            "attackVector": "LOCAL",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "REQUIRED",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM"
        }
    },
    "exploit": [],
    "work_around": [],
    "solution": [],
    "credit": []
}