VDB
CVE-2022-1381
CVE-2022-1381
PUBLISHED
CVSS 7.8 HIGH
global heap buffer overflow in skip_range in vim/vim
Reported by @huntrdev · Published April 17, 2022
global heap buffer overflow in skip_range in GitHub repository vim/vim prior to 8.2.4763. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| vim-minimal | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4857-1.amzn2.0.1 |
| vim-data | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4857-1.amzn2.0.1 |
| vim-filesystem | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4857-1.amzn2.0.1 |
| vim-default-editor | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2 |
| vim-common | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4857-1.amzn2.0.1 |
| vim-enhanced | Amazon Linux | 2:9.0.1160-1.amzn2023.0.2, 2:8.2.4857-1.amzn2.0.1 |
| vim | Alpine | 8.2.4836-r0 |
| vim-X11 | Amazon Linux | 2:8.2.4857-1.amzn2.0.1 |
| vim/vim | vim | 8.2.4763 |
| vim | vim | 8.2.4763 |
| macos | apple | 13.0 |
Risk scores
CVSS 3.0
7.8
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vim | vim/vim | unspecified |
| vim | vim/vim | * |
| amazon:2 | vim-minimal | 0 |
| amazon:2023 | vim-data | 0 |
| amazon:2 | vim-filesystem | 0 |
| amazon:2023 | vim-minimal | 0 |
| amazon:2023 | vim-default-editor | 0 |
| amazon:2 | vim-common | 0 |
| amazon:2023 | vim-common | 0 |
| amazon:2 | vim-enhanced | 0 |
| amazon:2023 | vim-filesystem | 0 |
| alpine | vim | 0 |
| amazon:2023 | vim-enhanced | 0 |
| amazon:2 | vim-X11 | 0 |
| amazon:2 | vim-data | 0 |
Timeline
- Apr 17, 2022 CVE Published
- Apr 18, 2022 EPSS Score (30 in total, the first dated here)
- Apr 18, 2022 PoC Published
- Mar 10, 2026 Security Advisory (3 in total, the first dated here)
- Jul 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-1381
vulnetix vdb fixes CVE-2022-1381
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-1381/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-e304fffd34 vendor-advisory
- FEDORA-2022-b605768c94 vendor-advisory
- GLSA-202208-32 vendor-advisory
- 20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- 20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13 mailing-list
- GLSA-202305-16 vendor-advisory