{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22401 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22401 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22401 is a medium-severity missing authorization vulnerability in nextcloud security-advisories, published on 18 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-22401 and fix it if it is affected.\n\nWhat it is: CVE-2024-22401 is a medium-severity missing authorization vulnerability in nextcloud security-advisories, published on 18 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-22401 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-2024-22401/ (Markdown: https://insights.sbomify.com/CVE-2024-22401/index.md)","id":"CVE-2024-22401","markdown":"https://insights.sbomify.com/CVE-2024-22401/index.md","name":"CVE-2024-22401","record":{"aliases":["GHSA-wr87-hx3w-29hh"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Nextcloud Guests app","requires_auth":"low_privilege","summary":"Guest users can improperly modify the allowed apps list, bypassing intended restrictions on available applications.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"guests","vendor":"nextcloud"}],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"description":"Nextcloud guests app is a utility to create guest users which can only see files shared with them. In affected versions users could change the allowed list of apps, allowing them to use apps that were not intended to be used. It is recommended that the Guests app is upgraded to 2.4.1, 2.5.1 or 3.0.1. There are no known workarounds for this vulnerability.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"All users can reset the allowed apps list for Nextcloud Guest App users","id":"CVE-2024-22401","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist","id":"CVE-2024-22402"},"packages":[],"prev":{"headline":"Open redirect in user_saml via RelayState parameter in Nextcloud User Saml","id":"CVE-2024-22400"},"products":["security-advisories"],"published":"2024-01-18","related":[{"cvss_score":5.4,"headline":"Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist","id":"CVE-2024-22402","kev_date_added":null,"published":"2024-01-18"}],"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":"2024-10-21","vendors":["nextcloud"]},"summary":"Guest users can improperly modify the allowed apps list, bypassing intended restrictions on available applications.","url":"https://insights.sbomify.com/CVE-2024-22401/"}