Skip to content
Heist/ feed
Back to feed
Low

Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator

Type: advisorySources: OSV

Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for passwords. Prior to versions 22.2.10, 23.0.7, and 24.0.3 the random password generator may, in very rare cases, generate common passwords that the validator itself would block. Upgrade Nextcloud Server to 22.2.10, 23.0.7 or 24.0.3 to receive a patch for the issue in Password Policy. There are no known workarounds available.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-35931
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:04 UTC · Revision 1

Source evidence

Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator

core-osv · Original source

Published 6 Sept 2022, 18:10 UTC

Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for passwords. Prior to versions 22.2.10, 23.0.7, and 24.0.3 the random password generator may, in very rare cases, generate common passwords that the validator itself would block. Upgrade Nextcloud Server to 22.2.10, 23.0.7 or 24.0.3 to receive a patch for the issue in Password Policy. There are no known workarounds available.

osv:CVE-2022-35931
Complete source record
{
  "id": "7700101c21fb019f7dea7fe8dcc0d0dac96648513da861f3233575e5f9f3a70d",
  "url": "https://osv.dev/vulnerability/CVE-2022-35931",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator",
    "summary": "Nextcloud Password Policy is an app that enables a Nextcloud server admin to define certain rules for passwords. Prior to versions 22.2.10, 23.0.7, and 24.0.3 the random password generator may, in very rare cases, generate common passwords that the validator itself would block. Upgrade Nextcloud Server to 22.2.10, 23.0.7 or 24.0.3 to receive a patch for the issue in Password Policy. There are no known workarounds available.",
    "evidence": "osv:CVE-2022-35931",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2022-35931",
      "aliases": [
        "CVE-2022-35931",
        "GHSA-c7mw-9q4r-8qwr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nextcloud/password_policy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "08a98af639d52f94a66cfda19c4c1f6c6582a85f"
                },
                {
                  "introduced": "1a76cdcd0367e7a3061b2dfaf776170561cafc6e"
                },
                {
                  "fixed": "a3f727557a5b4bee4b983d9fdbf9bff62e159bdc"
                },
                {
                  "introduced": "00b9ab1b33883a1b8949387ce3537ddf8d674dbc"
                },
                {
                  "fixed": "39fd4946ed6486f16c8c15f9b83f6d12e64c3ee5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nextcloud:password_policy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "22.2.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:password_policy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "23.0.0"
                      },
                      {
                        "fixed": "23.0.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nextcloud:password_policy:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "24.0.0"
                      },
                      {
                        "fixed": "24.0.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v22.2.9rc1",
            "v22.2.9",
            "v23.0.6rc1",
            "v23.0.6",
            "v24.0.2rc1",
            "v24.0.2",
            "v22.2.8rc1",
            "v22.2.8",
            "v23.0.5rc1",
            "v23.0.5",
            "v24.0.1rc1",
            "v24.0.1",
            "v24.0.0rc3",
            "v24.0.0rc2",
            "v24.0.0",
            "v22.2.7",
            "v23.0.4",
            "v22.2.7rc1",
            "v23.0.4rc1",
            "v22.2.6rc2",
            "v22.2.6rc1",
            "v22.2.6",
            "v22.2.5rc1",
            "v22.2.5",
            "v22.2.4rc3",
            "v22.2.4",
            "v23.0.3rc2",
            "v23.0.3rc1",
            "v23.0.3",
            "v23.0.2rc1",
            "v23.0.2",
            "v23.0.1rc3",
            "v23.0.1",
            "v23.0.1rc2",
            "v22.2.4rc2",
            "v22.2.4rc1",
            "v23.0.1rc1",
            "v23.0.0rc3",
            "v23.0.0rc2",
            "v23.0.0rc1",
            "v23.0.0",
            "v22.2.3",
            "v22.2.2",
            "v22.2.1rc1",
            "v22.2.1",
            "v22.2.0",
            "v22.2.0rc2",
            "v22.1.1rc2",
            "v22.1.1rc1",
            "v22.1.1",
            "v22.1.0rc1",
            "v22.1.0",
            "22.1.0",
            "v22.0.0rc2",
            "v22.0.0",
            "v22.0.0rc1",
            "v22.0.0beta5",
            "v22.0.0beta4",
            "v22.0.0beta3",
            "v22.0.0beta2",
            "v22.0.0beta1",
            "v21.0.0RC1",
            "v21.0.0beta8",
            "v21.0.0beta7",
            "v21.0.0beta6",
            "v21.0.0beta5",
            "v21.0.0beta4",
            "v21.0.0beta3",
            "v21.0.0beta2",
            "v21.0.0beta1",
            "v20.0.0beta4",
            "v20.0.0RC1",
            "v20.0.0beta3",
            "v20.0.0beta2",
            "v20.0.0beta1",
            "v19.0.0RC2",
            "v19.0.0beta7",
            "v19.0.0RC1",
            "v19.0.0beta6",
            "v19.0.0beta5",
            "v19.0.0beta4",
            "v19.0.0beta3",
            "v19.0.0beta2",
            "v19.0.0beta1",
            "v18.0.0RC2",
            "v18.0.0RC1",
            "v18.0.0",
            "v18.0.0beta4",
            "v18.0.0beta3",
            "v18.0.0beta2",
            "v18.0.0beta1",
            "v17.0.0beta4",
            "v17.0.0beta2",
            "v17.0.0beta1",
            "v16.0.0RC1",
            "v16.0.0beta3",
            "v16.0.0beta2",
            "v16.0.0beta1",
            "v16.0.0alpha1",
            "v15.0.0beta2",
            "v15.0.0beta1",
            "v15.0.0RC1",
            "v14.0.0beta4",
            "v14.0.0RC2",
            "v14.0.0RC1",
            "v14.0.0beta3",
            "v14.0.0beta2",
            "v14.0.0beta1",
            "v13.0.0beta4",
            "v13.0.0RC1",
            "v13.0.0beta3",
            "v13.0.0beta2",
            "v13.0.0beta1",
            "v12.0.0beta4",
            "v12.0.0beta3",
            "v12.0.0RC3",
            "v12.0.0RC2",
            "v12.0.0RC1",
            "v12.0.0",
            "v12.0.0beta2",
            "v12.0.0beta1",
            "v11.0.0",
            "v11.0RC2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35931.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.835030673Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35931.json",
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-c7mw-9q4r-8qwr",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-35931",
        "https://github.com/nextcloud/password_policy/pull/363"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-261"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35931.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-35931",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521607,
  "published_at": "2022-09-06T18:10:09+00:00"
}