{"id":"CVE-2022-35931","aliases":["EUVD-2022-38791","GHSA-c7mw-9q4r-8qwr","openSUSE-SU-2023:0083-1"],"status":"published","title":"Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator","description":"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.","severity":{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00461,"percentile":0.40242,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-261","CWE-326"],"published":"2022-09-06T18:10:09Z","modified":"2026-10-28T02:30:52Z","affected":[{"source":"osv","ecosystem":"SUSE:Package Hub 15 SP4","package":"nextcloud","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.0.12-bp154.2.3.1"}]}],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Leap 15.4","package":"nextcloud","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.0.12-bp154.2.3.1"}]}],"bundled":3}],"products":[{"vendor":"kiteworks","product":"security-advisories"},{"vendor":"nextcloud","product":"password_policy"},{"vendor":"nextcloud","product":"security-advisories"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-c7mw-9q4r-8qwr","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/nextcloud/password_policy/pull/363","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35931.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35931","tags":["advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/M7E2FX5KGET4IYNWVYBLR7XYJMJ7SJD4/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1203190","tags":["report"]},{"url":"https://bugzilla.suse.com/1205802","tags":["report"]},{"url":"https://bugzilla.suse.com/1208591","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2022-35931","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2022-39346","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2023-25579","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-35931","title":"Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator","description":"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.","status":"published","published":"2022-09-06T18:10:09Z","modified":"2025-04-23T17:14:53.571Z","cvss":[{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-261"],"updated_at":"2026-11-02T14:34:39.935681Z"}],"euvd":[{"id":"EUVD-2022-38791","description":"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.","status":"published","published":"2022-09-06T18:10:09Z","modified":"2025-04-23T17:14:53Z","cvss":[{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-02T20:52:10.363195Z"}],"nvd":[{"id":"CVE-2022-35931","description":"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.","status":"published","published":"2022-09-06T18:15:15.813Z","modified":"2026-06-17T04:52:32.91Z","cvss":[{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-261","CWE-326"],"updated_at":"2026-11-02T14:07:26.802986Z"}],"osv":[{"id":"CVE-2022-35931","title":"Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator","description":"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.","status":"published","published":"2022-09-06T18:10:09Z","modified":"2026-10-28T02:30:52.835030673Z","cvss":[{"version":"3.1","score":2.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-261"],"updated_at":"2026-11-02T15:44:26.195407Z"},{"id":"openSUSE-SU-2023:0083-1","title":"Security update for nextcloud","description":"This update for nextcloud fixes the following issues:\n\n- Update to 23.0.12\n  See: https://nextcloud.com/changelog/#latest23\n\n- This also fix security issues:\n  - CVE-2022-35931: Password Policy app could generate passwords that would be block (boo#1203190) \n  - CVE-2022-39346: Missing length validation of user displayname allows to generate an SQL error (boo#1205802)\n  - CVE-2023-25579: Potential directory traversal in OC\\Files\\Node\\Folder::getFullPath (boo#1208591)\n","status":"published","published":"2023-04-03T14:24:07Z","modified":"2026-02-04T02:19:54.35692Z","updated_at":"2026-11-02T16:58:32.653274Z"}]}}
