{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6782 exists.","fix":"Apply the vendor's patch.","what":"CVE-2024-6782 is a critical missing authorization vulnerability in Calibre, published on 6 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-6782 and fix it if it is affected.\n\nWhat it is: CVE-2024-6782 is a critical missing authorization vulnerability in Calibre, published on 6 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6782 exists.\n\nAffected product: Calibre. 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-6782/ (Markdown: https://insights.sbomify.com/CVE-2024-6782/index.md)","id":"CVE-2024-6782","markdown":"https://insights.sbomify.com/CVE-2024-6782/index.md","name":"CVE-2024-6782","record":{"aliases":["DEBIAN-CVE-2024-6782","GHSA-g8v6-86f6-jj9q","UBUNTU-CVE-2024-6782"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Calibre ebook manager","requires_auth":"none","summary":"Unauthenticated attackers can achieve remote code execution in Calibre due to improper access control, requiring users to apply security patches.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"STAR_Labs","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"Improper access control in Calibre 6.9.0 ~ 7.14.0 allow unauthenticated attackers to achieve remote code execution.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2024-07-31","github_poc":4,"max_poc_stars":6,"metasploit":1,"nuclei":1,"refs":[{"date":"2024-08-06T15:31:48Z","kind":"github_poc","ref":"https://github.com/zangjiahe/CVE-2024-6782","stars":6,"title":"Calibre 远程代码执行（CVE-2024-6782）Improper access control in Calibre 6.9.0 ~ 7.14.0 allow unauthenticated attackers to achieve remote code execution."},{"date":"2024-09-15T18:45:44Z","kind":"github_poc","ref":"https://github.com/0xB0y426/CVE-2024-6782-PoC","stars":1,"title":"Unauthenticated remote code execution via Calibre’s content server in Calibre \u0026lt;= 7.14.0."},{"date":"2024-07-31","kind":"metasploit","ref":"exploit/multi/misc/calibre_exec","stars":null,"title":"Calibre Python Code Injection (CVE-2024-6782)"},{"date":"2024-08-09T06:25:03Z","kind":"github_poc","ref":"https://github.com/jdpsl/CVE-2024-6782","stars":0,"title":"Improper access control in Calibre 6.9.0 ~ 7.14.0 allow unauthenticated attackers to achieve remote code execution."},{"date":"2024-12-07T13:42:45Z","kind":"github_poc","ref":"https://github.com/NketiahGodfred/CVE-2024-6782","stars":0,"title":"Calibre Remote Code Execution"},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-6782.yaml","stars":null,"title":"Calibre \u003c= 7.14.0 Remote Code Execution"}],"tier":"weaponised"},"has_fix":true,"headline":"Calibre Remote Code Execution","id":"CVE-2024-6782","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Vue client-side XSS via prototype pollution","id":"CVE-2024-6783"},"packages":[],"prev":{"headline":"Calibre Arbitrary File Read","id":"CVE-2024-6781"},"products":["Calibre"],"published":"2024-08-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-08","vendors":["Calibre"]},"summary":"Unauthenticated attackers can achieve remote code execution in Calibre due to improper access control, requiring users to apply security patches.","url":"https://insights.sbomify.com/CVE-2024-6782/"}