{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21031","id":"CVE-2021-21031","title":"Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access","description":"Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) do not adequately invalidate user sessions. Successful exploitation could lead to unauthorized access to restricted resources. Access to the admin console is not required for successful exploitation.","descriptionLong":"Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) do not adequately invalidate user sessions. Successful exploitation could lead to unauthorized access to restricted resources. Access to the admin console is not required for successful exploitation.","published":"2021-02-11T19:28:06.757Z","updated":"2026-10-24T10:30:43.229880044Z","reserved":"2020-12-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"adobe","metric":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},"metrics":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"adobe"},{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"adobe.com"},{"version":"3.0","score":5.6,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"medium","products":["Adobe Magento.com"],"affectedProducts":[{"vendor":"Adobe","product":"Magento.com","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.4.1","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"2.4.0-p1","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"2.3.6","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"None","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"magento/community-edition","purl":"pkg:composer/magento/community-edition","ranges":[">=2.4.0 <2.4.1-p1","<2.3.6"],"fixed":["2.4.1-p1","2.3.6"],"advisory":"GHSA-4h3p-63x6-vwg2"},{"ecosystem":"Packagist","name":"magento/project-community-edition","purl":"pkg:composer/magento/project-community-edition","ranges":["<=2.0.2"],"fixed":[],"advisory":"GHSA-4h3p-63x6-vwg2"}],"cwes":["CWE-613"],"aliases":["BIT-magento-2021-21031","GHSA-4h3p-63x6-vwg2"],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb21-08.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21031","tags":["advisory"]},{"url":"https://github.com/magento/magento2","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01596,"epssPercentile":0.7626,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21031","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21031","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21031","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4h3p-63x6-vwg2","ok":true,"note":"GHSA-4h3p-63x6-vwg2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21031","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}