CVE-2022-1160
heap buffer overflow in get_one_sourceline in vim/vim
HIGH 7.3
At a glance
- Source
- NVD
- EPSS
- EPSS 1.31 % · percentile 71 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- @huntrdev
- NVD status
- Modified
Description
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
Weaknesses (CWE)
References
- https://huntr.dev/bounties/a6f3222d-2472-439d-8881-111138a5694c
- https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5db
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C2CQXRLBIC4S7JQVEIN5QXKQPYWB5E3J/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RAIQTUO35U5WO2NYMY47637EMCVDJRSL/
- https://security.gentoo.org/glsa/202208-32
- https://security.gentoo.org/glsa/202305-16
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L | @huntrdev |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L | NVD · security@huntr.dev (Secondary) |
| CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-24502
- GCVE · GCVE-0-2022-1160
Affected configurations (NVD CPE)
cpe:2.3:a:vim:vim:*:*:*:*:*:*:*:*< 8.2.4647cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| vim · vim/vim | affected unspecified < 8.2.4647 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |