{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-40695 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-40695 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-40695 is a high-severity vulnerability in Ibm Cognos Analytics, published on 20 Dec 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-40695 and fix it if it is affected.\n\nWhat it is: CVE-2024-40695 is a high-severity vulnerability in Ibm Cognos Analytics, published on 20 Dec 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-40695 in the wild and no public exploit code.\n\nAffected product: Ibm Cognos Analytics. 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-40695/ (Markdown: https://insights.sbomify.com/CVE-2024-40695/index.md)","id":"CVE-2024-40695","markdown":"https://insights.sbomify.com/CVE-2024-40695/index.md","name":"CVE-2024-40695","record":{"aliases":["GHSA-ch29-m9jp-wg9f"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IBM Cognos Analytics","requires_auth":"low_privilege","summary":"Attackers can upload malicious executable files due to lack of content validation, potentially leading to code execution on the system.","user_interaction":"required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ibm","cpe":[{"product":"cognos_analytics","vendor":"ibm"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"IBM Cognos Analytics 11.2.0 through 11.2.4 FP4 and \n\n12.0.0 through 12.0.4\n\ncould be vulnerable to malicious file upload by not validating the content of the file uploaded to the web interface. Attackers can make use of this weakness and upload malicious executable files into the system, and it can be sent to victim for performing further attacks.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"IBM Cognos Analytics file upload","id":"CVE-2024-40695","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"ibm:cognos_analytics","products":["ibm:cognos_analytics"],"type":"file_upload","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"IBM Sterling B2B Integrator cross-site scripting","id":"CVE-2024-40696"},"packages":[],"prev":{"headline":"IBM Planning Analytics file upload","id":"CVE-2024-40693"},"products":["Cognos Analytics"],"published":"2024-12-20","related":[{"cvss_score":10,"headline":"Missing authorization in Cognos Analytics","id":"CVE-2020-4561","kev_date_added":null,"published":"2021-05-31"},{"cvss_score":9,"headline":"IBM Cognos Analytics expression language injection","id":"CVE-2024-51466","kev_date_added":null,"published":"2024-12-20"},{"cvss_score":8.8,"headline":"Code injection in Cognos Analytics","id":"CVE-2021-29679","kev_date_added":null,"published":"2021-10-15"},{"cvss_score":8.6,"headline":"IBM Cognos Analytics log injection","id":"CVE-2024-25047","kev_date_added":null,"published":"2024-05-02"},{"cvss_score":8.3,"headline":"IBM Cognos Analytics 11.0 and 11.1 is vulnerable to a XML External Entity Injection (XXE) attack when processing XML data.","id":"CVE-2018-1721","kev_date_added":null,"published":"2019-11-09"},{"cvss_score":8.2,"headline":"XML external entity in Cognos Analytics","id":"CVE-2020-4300","kev_date_added":null,"published":"2021-05-31"},{"cvss_score":8.2,"headline":"XML external entity in Cognos Analytics","id":"CVE-2020-4377","kev_date_added":null,"published":"2020-08-03"}],"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":"total"},"state":"PUBLISHED","updated":"2024-12-20","vendors":["IBM"]},"summary":"Attackers can upload malicious executable files due to lack of content validation, potentially leading to code execution on the system.","url":"https://insights.sbomify.com/CVE-2024-40695/"}