{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22402 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22402 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22402 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, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-22402 and fix it if it is affected.\n\nWhat it is: CVE-2024-22402 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, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-22402 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-22402/ (Markdown: https://insights.sbomify.com/CVE-2024-22402/index.md)","id":"CVE-2024-22402","markdown":"https://insights.sbomify.com/CVE-2024-22402/index.md","name":"CVE-2024-22402","record":{"aliases":["GHSA-v3qw-7vgv-2fxj"],"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 bypass app allowlists to access unauthorized application pages, requiring an upgrade to the Nextcloud Guests app.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"guests","vendor":"nextcloud"}],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/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 were able to load the first page of apps they were actually not allowed to access. Depending on the selection of apps installed this may present a permissions bypass. 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":"Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist","id":"CVE-2024-22402","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":"OAuth2 authorization codes are valid indefinetly in Nextcloud server","id":"CVE-2024-22403"},"packages":[],"prev":{"headline":"All users can reset the allowed apps list for Nextcloud Guest App users","id":"CVE-2024-22401"},"products":["security-advisories"],"published":"2024-01-18","related":[{"cvss_score":4.1,"headline":"All users can reset the allowed apps list for Nextcloud Guest App users","id":"CVE-2024-22401","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":"2025-06-09","vendors":["nextcloud"]},"summary":"Guest users can bypass app allowlists to access unauthorized application pages, requiring an upgrade to the Nextcloud Guests app.","url":"https://insights.sbomify.com/CVE-2024-22402/"}