{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49091 exists.","fix":"No fix has been published for CVE-2023-49091 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-49091 is a high-severity authentication bypass vulnerability in azukaar Cosmos-Server, published on 29 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-49091 and fix it if it is affected.\n\nWhat it is: CVE-2023-49091 is a high-severity authentication bypass vulnerability in azukaar Cosmos-Server, published on 29 Nov 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-49091 exists.\n\nAffected product: azukaar Cosmos-Server. 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-2023-49091/ (Markdown: https://insights.sbomify.com/CVE-2023-49091/index.md)","id":"CVE-2023-49091","markdown":"https://insights.sbomify.com/CVE-2023-49091/index.md","name":"CVE-2023-49091","record":{"aliases":["GHSA-hpvm-x7m8-3c6x"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Self-hosted home server","requires_auth":"none","summary":"Attackers can retain unauthorized access to Cosmos Server using JWT tokens that remain valid after user logout or password change.","user_interaction":"required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cosmos_server","vendor":"cosmos-cloud"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"description":"Cosmos provides users the ability self-host a home server by acting as a secure gateway to your application, as well as a server manager. Cosmos-server is vulnerable due to to the authorization header used for user login remaining valid and not expiring after log out. This vulnerability allows an attacker to use the token to gain unauthorized access to the application/system even after the user has logged out. This issue has been patched in version 0.13.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Jwttoken in Cosmos server never expires after password changed and logging out","id":"CVE-2023-49091","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"RustCrypto/RSA vulnerable to a Marvin Attack via key recovery through timing sidechannels","id":"CVE-2023-49092"},"packages":[],"prev":{"headline":"CarrierWave has a content-type allowlist bypass vulnerability, possibly leading to XSS","id":"CVE-2023-49090"},"products":["Cosmos-Server"],"published":"2023-11-29","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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-01-21","vendors":["azukaar"]},"summary":"Attackers can retain unauthorized access to Cosmos Server using JWT tokens that remain valid after user logout or password change.","url":"https://insights.sbomify.com/CVE-2023-49091/"}