Vulnerability · Published Oct 26, 2022 · Assigned by VulDB
CVE-2022-3705vim autocmd quickfix.c qf_update_buffer use after free
Medium 5.0
In plain English
A medium-severity memory corruption in vim from unspecified. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in vim and classified as problematic. Affected by this issue is the function qf_update_buffer of the file quickfix.c of the component autocmd Handler. The manipulation leads to use after free. The attack may be launched remotely. Upgrading to version 9.0.0805 is able to address this issue. The name of the patch is d0fab10ed2a86698937e3c3fed2f10bd9bb5e731. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-212324.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | vim | 9.0.0815-r0 | ALPINE-CVE-2022-3705 |
| Alpine:v3.21 | vim | 9.0.0815-r0 | ALPINE-CVE-2022-3705 |
| Alpine:v3.22 | vim | 9.0.0815-r0 | ALPINE-CVE-2022-3705 |
| Alpine:v3.23 | vim | 9.0.0815-r0 | ALPINE-CVE-2022-3705 |
| Alpine:v3.24 | vim | 9.0.0815-r0 | ALPINE-CVE-2022-3705 |
| Debian:12 | vim | 2:9.0.0813-1 | DEBIAN-CVE-2022-3705 |
| Debian:13 | vim | 2:9.0.0813-1 | DEBIAN-CVE-2022-3705 |
| Debian:14 | vim | 2:9.0.0813-1 | DEBIAN-CVE-2022-3705 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.12 | UBUNTU-CVE-2022-3705 |
| Ubuntu:22.04:LTS | vim | 2:8.2.3995-1ubuntu2.12 | USN-6420-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| unspecified | vim | n/a |
Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/vim/vim/commit/d0fab10ed2a86698937e3c3fed2f10bd9bb5e731
- https://vuldb.com/?id.212324
- FEDORA-2022-06e4f1dd58 vendor-advisory
- [debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update mailing-list
- FEDORA-2022-3d354ef0fb vendor-advisory
- FEDORA-2022-4bc60c32a2 vendor-advisory
- https://security.netapp.com/advisory/ntap-20221223-0004/
- https://support.apple.com/kb/HT213605
- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 mailing-list
- GLSA-202305-16 vendor-advisory