Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23128

An issue was discovered in Joomla! 3.2.0 through 3.9.24. The core shipped but unused randval implementation within FOF (FOFEncryptRandval) used an potential insecure implemetation. That has now been replaced with a call to 'random_bytes()' and its backport that is shipped within random_compat.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23128
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:05 UTC · Revision 1

Source evidence

CVE-2021-23128

core-osv · Original source

Published 4 Mar 2021, 18:15 UTC

An issue was discovered in Joomla! 3.2.0 through 3.9.24. The core shipped but unused randval implementation within FOF (FOFEncryptRandval) used an potential insecure implemetation. That has now been replaced with a call to 'random_bytes()' and its backport that is shipped within random_compat.

osv:CVE-2021-23128
Complete source record
{
  "id": "62a6e04c44e713953f62e448c45a3fe45ced1efc2a81fd779b50dbf55e0c98f6",
  "url": "https://osv.dev/vulnerability/CVE-2021-23128",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23128",
    "summary": "An issue was discovered in Joomla! 3.2.0 through 3.9.24. The core shipped but unused randval implementation within FOF (FOFEncryptRandval) used an potential insecure implemetation. That has now been replaced with a call to 'random_bytes()' and its backport that is shipped within random_compat.",
    "evidence": "osv:CVE-2021-23128",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-23128",
      "aliases": [
        "BIT-joomla-2021-23128",
        "CVE-2021-23128"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/joomla/joomla-cms",
              "type": "GIT",
              "events": [
                {
                  "introduced": "acb7a6384561a8d5917fa9854c85f52cddec9550"
                },
                {
                  "fixed": "aadf6979f8b99308c3621ea3af2ca98e678a477d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:joomla:joomla\\!:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0"
                      },
                      {
                        "fixed": "3.9.25"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.9.25-rc",
            "3.9.24",
            "3.9.24-rc2",
            "3.9.24-rc",
            "3.9.20-rc",
            "3.9.23",
            "3.9.23-rc2",
            "3.9.23-rc",
            "3.9.19",
            "3.9.22",
            "3.9.22-rc",
            "3.9.21",
            "3.9.21-rc",
            "3.9.20",
            "3.9.19-rc",
            "3.9.17-rc",
            "3.9.18",
            "3.9.17",
            "3.9.16",
            "3.9.15",
            "3.9.15-rc",
            "3.9.16-rc",
            "3.9.14",
            "3.9.14-rc",
            "3.9.13",
            "3.9.12",
            "3.9.13-rc2",
            "3.9.13-rc",
            "3.9.12-rc",
            "3.9.11",
            "3.9.10",
            "3.9.8",
            "3.9.11-rc",
            "3.9.9",
            "3.9.6",
            "3.9.5",
            "3.9.9-rc",
            "3.9.4",
            "3.9.3",
            "3.9.7",
            "3.9.7-rc",
            "3.9.2-rc",
            "3.9.1",
            "3.9.6-rc2",
            "3.9.6-rc",
            "3.9.0",
            "3.9.0-rc",
            "3.9.0-beta4",
            "3.9.5-rc",
            "3.9.4-rc",
            "3.8.11",
            "3.9.3-rc",
            "3.9.2",
            "3.8.8",
            "3.9.1-rc",
            "3.9.0-rc2",
            "3.8.7",
            "3.8.12",
            "3.9.0-beta3",
            "3.9.0-beta2",
            "3.9.0-beta",
            "3.8.12-rc",
            "3.8.11-rc",
            "3.8.6",
            "3.8.10",
            "3.8.9",
            "3.8.4",
            "3.8.9-rc",
            "issues-241-257",
            "3.8.8-rc",
            "3.8.7-rc",
            "3.8.6-rc1",
            "3.8.3",
            "3.8.3-rc",
            "3.8.5",
            "3.8.5-rc",
            "3.8.4-rc2",
            "3.8.4-rc",
            "3.8.2",
            "3.8.1",
            "3.8.0",
            "3.8.2-rc",
            "3.8.1-rc",
            "3.8.0-rc1",
            "3.8.0-beta2",
            "3.8.0-beta4",
            "3.8.0-beta1",
            "3.8.0-beta3",
            "3.7.4-rc1",
            "3.7.4-beta1",
            "3.7.3",
            "3.7.3-rc2",
            "3.7.3-rc1",
            "3.7.3-beta1",
            "3.7.2",
            "3.7.1",
            "3.7.1-rc2",
            "3.7.1-rc1",
            "3.7.0",
            "3.7.0-rc4",
            "3.7.0-rc3",
            "3.7.0-rc2",
            "3.7.0-rc1",
            "3.7.0-beta4",
            "3.7.0-beta3",
            "3.7.0-beta2",
            "3.7.0-beta1",
            "3.7.0-alpha1",
            "3.6.3",
            "3.6.3-rc3",
            "3.6.3-rc2",
            "3.6.3-rc1",
            "3.6.2",
            "3.6.1",
            "3.6.1-rc2",
            "3.6.1-rc1",
            "3.6.0",
            "3.6.0-rc2",
            "3.6.0-rc",
            "3.6.0-beta2",
            "3.6.0-beta1",
            "3.6.0-alpha",
            "3.5.1",
            "3.5.1-rc2",
            "3.5.1-rc",
            "3.5.0",
            "3.5.0-rc4",
            "3.5.0-rc2",
            "3.5.0-rc",
            "3.5.0-beta5",
            "3.5.0-beta4",
            "3.5.0-beta3",
            "3.5.0-beta2",
            "3.4.5",
            "3.5.0-beta",
            "3.4.4",
            "3.4.4-rc2",
            "3.4.4-rc",
            "3.4.3",
            "3.4.2",
            "3.4.2-rc",
            "3.4.1",
            "3.4.1-rc2",
            "3.4.1-rc",
            "3.4.0",
            "3.4.0-rc",
            "3.4.0-beta3",
            "3.4.0-beta2",
            "3.4.0-beta1",
            "3.2.4",
            "3.3.0",
            "3.2.3",
            "3.2.2",
            "3.2.1",
            "3.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23128.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:24.374661547Z",
      "provider": "osv",
      "references": [
        "https://developer.joomla.org/security-centre/842-20210302-core-potential-insecure-fofencryptrandval.html"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-23128",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431134,
  "published_at": "2021-03-04T18:15:13.363+00:00"
}