Vulnerability · Published Jan 26, 2023 · Assigned by @huntrdev
CVE-2023-0512Divide By Zero in vim/vim
High 7.3
In plain English
A high-severity security flaw in vim/vim from vim. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.0)7.3High
Exploit odds (30 days)0.5%top 56.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Divide By Zero in GitHub repository vim/vim prior to 9.0.1247.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | vim | 9.0.1251-r0 | ALPINE-CVE-2023-0512 |
| Alpine:v3.21 | vim | 9.0.1251-r0 | ALPINE-CVE-2023-0512 |
| Alpine:v3.22 | vim | 9.0.1251-r0 | ALPINE-CVE-2023-0512 |
| Alpine:v3.23 | vim | 9.0.1251-r0 | ALPINE-CVE-2023-0512 |
| Alpine:v3.24 | vim | 9.0.1251-r0 | ALPINE-CVE-2023-0512 |
| Debian:12 | vim | 2:9.0.1378-1 | DEBIAN-CVE-2023-0512 |
| Debian:13 | vim | 2:9.0.1378-1 | DEBIAN-CVE-2023-0512 |
| Debian:14 | vim | 2:9.0.1378-1 | DEBIAN-CVE-2023-0512 |
Affected products (as reported)
Weakness: CWE-369 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- https://huntr.dev/bounties/de83736a-1936-4872-830b-f1e9b0ad2a74
- https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835
- https://support.apple.com/kb/HT213677
- https://support.apple.com/kb/HT213675
- https://support.apple.com/kb/HT213670
- 20230327 APPLE-SA-2023-03-27-3 macOS Ventura 13.3 mailing-list
- 20230327 APPLE-SA-2023-03-27-4 macOS Monterey 12.6.4 mailing-list
- 20230327 APPLE-SA-2023-03-27-5 macOS Big Sur 11.7.5 mailing-list
- FEDORA-2023-030318ca00 vendor-advisory