cve.bz

CVE-2021-21031 magento magento: Insufficient Session Expiration

5.6 mediumEPSS 1.6%Fix available

Medium (5.6) in magento magento. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in magento/community-edition 2.3.6, 2.4.1-p1.

On this page
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.

Severity

CVSS 3.0

5.6 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
1.6% (unchanged from 1.6% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-613 Insufficient Session Expiration deprecated by MITRE see CWE-1463, CWE-1464
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-21031 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-21031?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-21031?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-21031 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Adobe Magento.comthrough 2.4.1
Adobe Magento.comthrough 2.4.0-p1
Adobe Magento.comthrough 2.3.6
Adobe Magento.comthrough None

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4h3p-63x6-vwg2Packagistmagento/community-edition>=2.4.0 <2.4.1-p12.4.1-p1
GHSA-4h3p-63x6-vwg2Packagistmagento/community-edition<2.3.62.3.6
GHSA-4h3p-63x6-vwg2Packagistmagento/project-community-edition<=2.0.2no fix published

References

Check your stackJSON