Vulnerability · Published Nov 16, 2023 · Assigned by GitHub_M
CVE-2023-48233overflow with count for :s command in vim
Low 2.8
In plain English
A low-severity integer overflow in vim from vim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abort with e_value_too_large. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `ac6378773` which has been included in release version 9.0.2108. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | vim | no fix listed | DEBIAN-CVE-2023-48233 |
| Debian:13 | vim | 2:9.0.2116-1 | DEBIAN-CVE-2023-48233 |
| Debian:14 | vim | 2:9.0.2116-1 | DEBIAN-CVE-2023-48233 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.15 | USN-6557-1 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.15 | UBUNTU-CVE-2023-48233 |
Affected products (as reported)
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/vim/vim/security/advisories/GHSA-3xx4-hcq6-r2vj x_refsource_CONFIRM
- https://github.com/vim/vim/commit/ac63787734fda2e294e477af52b3bd601517fa78 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2023/11/16/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
- https://security.netapp.com/advisory/ntap-20231227-0003/