# CVE-2021-23127: [20210301] - Core - Insecure randomness within 2FA secret generation

- Severity: Critical 9.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-03-04T17:37:14.392Z
- Modified: 2026-09-08T08:48:01.414Z
- Also known as: BIT-JOOMLA-2021-23127
- Assigned by: Joomla

## Description

An issue was discovered in Joomla! 3.2.0 through 3.9.24. Usage of an insufficient length for the 2FA secret accoring to RFC 4226 of 10 bytes vs 20 bytes.

(As written by CVE List.)

## Affected

- Joomla! Project Joomla! CMS: 3.2.0-3.9.24
- joomla joomla!: from 3.2.0 before 3.9.25
- joomla (Bitnami): from 3.2.0 before 3.9.25

## Every score

- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://developer.joomla.org/security-centre/841-20210301-core-insecure-randomness-within-2fa-secret-generation.html> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23127> (web)

## Sources

- CVE List: [CVE-2021-23127](https://www.cve.org/CVERecord?id=CVE-2021-23127), CVE Terms of Use, modified 2026-02-25
- NVD: [CVE-2021-23127](https://nvd.nist.gov/vuln/detail/CVE-2021-23127), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-JOOMLA-2021-23127](https://osv.dev/vulnerability/BIT-JOOMLA-2021-23127), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-23127 · Whole record: https://cve.day/CVE-2021-23127.json · Rebuilt by cve.day 2026-11-25T22:58:00.138Z
