CVE-2024-45306
Last modified
CVE-2024-45306 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end of a line. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end of a line. Back then we assumed this loop is unnecessary. However, this change made it possible that the cursor position stays invalid and points beyond the end of a line, which would eventually cause a heap-buffer-overflow when trying to access the line pointer at the specified cursor position. It's not quite clear yet, what can lead to this situation that the cursor points to an invalid position. That's why patch v9.1.0707 does not include a test case. The only observed impact has been a program crash. This issue has been addressed in with the patch v9.1.0707. All users are advised to upgrade.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vim | Vim | >= 9.1.0038, < 9.1.0707 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-45306?
How severe is CVE-2024-45306?
How do I fix CVE-2024-45306?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-45300alf.io is an open source ticket reservation system for confe…5.9
- CVE-2024-45301Mintty is a terminal emulator for Cygwin, MSYS, and WSL. In …5.3
- CVE-2024-45302RestSharp is a Simple REST and HTTP API Client for .NET. The…7.8
- CVE-2024-45303Discourse Calendar plugin adds the ability to create a dynam…6.1
- CVE-2024-45304Cairo-Contracts are OpenZeppelin Contracts written in Cairo …6.5
- CVE-2024-45305gix-path is a crate of the gitoxide project dealing with git…2.5
- CVE-2024-45307SudoBot, a Discord moderation bot, is vulnerable to privileg…9.8
- CVE-2024-45308HedgeDoc is an open source, real-time, collaborative, markdo…6.5
- CVE-2024-45309OneDev is a Git server with CI/CD, kanban, and packages. A v…7.5
- CVE-2024-4531The Business Card WordPress plugin through 1.0.0 does not ha…7.1
- CVE-2024-45310runc is a CLI tool for spawning and running containers accor…3.6
- CVE-2024-45311Quinn is a pure-Rust, async-compatible implementation of the…7.5
Are you affected by CVE-2024-45306?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
