{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-43790 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-43790 is a medium-severity memory corruption vulnerability in Netapp Bootstrap Os, published on 22 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-43790 and fix it if it is affected.\n\nWhat it is: CVE-2024-43790 is a medium-severity memory corruption vulnerability in Netapp Bootstrap Os, published on 22 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-43790 in the wild and no public exploit code.\n\nAffected product: Netapp Bootstrap Os. 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-43790/ (Markdown: https://insights.sbomify.com/CVE-2024-43790/index.md)","id":"CVE-2024-43790","markdown":"https://insights.sbomify.com/CVE-2024-43790/index.md","name":"CVE-2024-43790","record":{"aliases":["ALPINE-CVE-2024-43790","BELL-CVE-2024-43790","DEBIAN-CVE-2024-43790","ECHO-5b33-f1a7-5161","GHSA-v2x2-cjcg-f9jm"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Vim text editor","requires_auth":"none","summary":"A heap buffer overflow in Vim allows attackers to execute arbitrary code or cause a crash when specific search and display settings are enabled.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"bootstrap_os","vendor":"netapp"},{"product":"vim","vendor":"vim"}],"cvss":{"score":4.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"Vim is an open source command line text editor. When performing a search and displaying the search-count message is disabled (:set shm+=S), the search pattern is displayed at the bottom of the screen in a buffer (msgbuf). When right-left mode (:set rl) is enabled, the search pattern is reversed. This happens by allocating a new buffer. If the search pattern contains some ASCII NUL characters, the buffer allocated will be smaller than the original allocated buffer (because for allocating the reversed buffer, the strlen() function is called, which only counts until it notices an ASCII NUL byte ) and thus the original length indicator is wrong. This causes an overflow when accessing characters inside the msgbuf by the previously (now wrong) length of the msgbuf. The issue has been fixed as of Vim patch v9.1.0689.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"heap-buffer-overflow in do_search() in Vim \u003c 9.1.0689","id":"CVE-2024-43790","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"netapp:bootstrap_os","products":["netapp:bootstrap_os","vim:vim"],"type":"memory_corruption","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"RequestStore has Incorrect Default Permissions","id":"CVE-2024-43791"},"packages":[],"prev":{"headline":"Denial of service by the absence of restrictions on replies to posts in Discourse","id":"CVE-2024-43789"},"products":["vim"],"published":"2024-08-22","related":[{"cvss_score":5.9,"headline":"REXML denial of service vulnerability","id":"CVE-2024-43398","kev_date_added":null,"published":"2024-08-22"},{"cvss_score":4.8,"headline":"Security feature bypass in Oracle Java SE","id":"CVE-2025-30691","kev_date_added":null,"published":"2025-04-15"},{"cvss_score":4.4,"headline":"Vim vulnerable to potential data loss with zip.vim and special crafted zip files","id":"CVE-2025-29768","kev_date_added":null,"published":"2025-03-13"},{"cvss_score":4.3,"headline":"Denial of service in REXML","id":"CVE-2024-39908","kev_date_added":null,"published":"2024-07-16"},{"cvss_score":3.9,"headline":"use-after-free when closing buffers in Vim","id":"CVE-2024-47814","kev_date_added":null,"published":"2024-10-07"},{"cvss_score":3.7,"headline":"Other in GraalVM","id":"CVE-2024-21211","kev_date_added":null,"published":"2024-10-15"}],"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":"2024-09-20","vendors":["vim"]},"summary":"A heap buffer overflow in Vim allows attackers to execute arbitrary code or cause a crash when specific search and display settings are enabled.","url":"https://insights.sbomify.com/CVE-2024-43790/"}