{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-22404 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-22404 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-22404 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-22404 and fix it if it is affected.\n\nWhat it is: CVE-2024-22404 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-22404 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-22404/ (Markdown: https://insights.sbomify.com/CVE-2024-22404/index.md)","id":"CVE-2024-22404","markdown":"https://insights.sbomify.com/CVE-2024-22404/index.md","name":"CVE-2024-22404","record":{"aliases":["GHSA-vhj3-mch4-67fq"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Nextcloud Files Zip app","requires_auth":"low_privilege","summary":"Attackers can bypass view-only restrictions to download protected files by zipping folders in the Nextcloud Files Zip app.","user_interaction":"required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zipper","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 files Zip app is a tool to create zip archives from one or multiple files from within Nextcloud. In affected versions users can download \"view-only\" files by zipping the complete folder. It is recommended that the Files ZIP app is upgraded to 1.2.1, 1.4.1, or 1.5.0. Users unable to upgrade should disable the file zip app.","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":"Permissions bypass in Nextcloud with the files zip app","id":"CVE-2024-22404","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":"XADMaster may not apply quarantine attribute correctly to extracted files","id":"CVE-2024-22405"},"packages":[],"prev":{"headline":"OAuth2 authorization codes are valid indefinetly in Nextcloud server","id":"CVE-2024-22403"},"products":["security-advisories"],"published":"2024-01-18","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-06-02","vendors":["nextcloud"]},"summary":"Attackers can bypass view-only restrictions to download protected files by zipping folders in the Nextcloud Files Zip app.","url":"https://insights.sbomify.com/CVE-2024-22404/"}