{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-35931 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-35931 is a low-severity vulnerability in nextcloud security-advisories, published on 6 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-35931 and fix it if it is affected.\n\nWhat it is: CVE-2022-35931 is a low-severity vulnerability in nextcloud security-advisories, published on 6 Sep 2022. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-35931 in the wild and no public exploit code.\n\nAffected product: nextcloud security-advisories. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-35931/ (Markdown: https://insights.sbomify.com/CVE-2022-35931/index.md)","id":"CVE-2022-35931","markdown":"https://insights.sbomify.com/CVE-2022-35931/index.md","name":"CVE-2022-35931","record":{"aliases":["GHSA-c7mw-9q4r-8qwr"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Nextcloud Password Policy","requires_auth":"high_privilege","summary":"The Nextcloud Password Policy app may generate weak passwords that bypass its own validation, requiring an upgrade to ensure proper security enforcement.","user_interaction":"not_required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"password_policy","vendor":"nextcloud"}],"cvss":{"score":2.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-326","name":"Inadequate Encryption Strength"},{"id":"CWE-261","name":"Weak Encoding for Password"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nextcloud Password Policy's generated passwords are not fully validated by HIBPValidator","id":"CVE-2022-35931","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"weak_cryptography","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Missing rate limit when trying to join a password protected Nextcloud Talk conversation","id":"CVE-2022-35932"},"packages":[],"prev":{"headline":"Ability to bypass attestation verification in sigstore PolicyController","id":"CVE-2022-35930"},"products":["security-advisories"],"published":"2022-09-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["nextcloud"]},"summary":"The Nextcloud Password Policy app may generate weak passwords that bypass its own validation, requiring an upgrade to ensure proper security enforcement.","url":"https://insights.sbomify.com/CVE-2022-35931/"}