Buffer overflow in Netapp Bootstrap Os
CVE-2024-43790
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.
Vulnerability class: Buffer Overflow
EPSS: 0.003 (23.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L.
Affected products
- Netapp Bootstrap_os
- Netapp Hci_compute_node
- Vim — versions < v9.1.0689
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
Frequently asked questions
- What is CVE-2024-43790?
- CVE-2024-43790 is a medium-severity vulnerability in Netapp Bootstrap Os, classified under Heap-based Buffer Overflow. CVSS score: 4.5/10. Published 2024-08-22.
- How severe is CVE-2024-43790?
- Medium severity. CVSS v3 base score is 4.5 out of 10.