CVE-2022-1160
published 2022-03-30CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
PriorityP433high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.27%
66.1th percentile
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_vim_8.2.4743-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_vim_8.2.4763-1_on_cbl_mariner_1.0 | — | — |
| vim | vim | < 8.2.4647 | 8.2.4647 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim | >= 0 < 8.2.4708-r0 | 8.2.4708-r0 |
| vim | vim_vim | >= unspecified < 8.2.4647 | 8.2.4647 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.3HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8LOW
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion
ghsa·2022-11-16
CVE-2022-45380 [HIGH] CWE-79 Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion
Jenkins JUnit Plugin subject to Cross-site Scripting via URL conversion
JUnit Plugin 1159.v0b_396e1e07dd and earlier converts HTTP(S) URLs in test report output to clickable links.
This is done in an unsafe manner, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.
JUnit Plugin 1160.vf1f01a_a_ea_b_7f no longer converts URLs to clickable links.
GHSA
GHSA-rv49-vpf7-3h48: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8
ghsa_unreviewed·2022-03-31
CVE-2022-1160 [HIGH] CWE-122 GHSA-rv49-vpf7-3h48: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.
OSV
CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8
osv·2022-03-30·CVSS 7.8
CVE-2022-1160 [HIGH] CVE-2022-1160: heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
Red Hat
vim: heap buffer overflow in get_one_sourceline
vendor_redhat·2022-03-28·CVSS 7.8
CVE-2022-1160 [HIGH] CWE-120 vim: heap buffer overflow in get_one_sourceline
vim: heap buffer overflow in get_one_sourceline
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
A heap buffer overflow flaw was found in vim's get_one_sourceline() function of scriptfile.c file. This flaw occurs when "source" can read past the end of the copied line. This flaw allows an attacker to trick a user into opening a crafted file, triggering a heap-overflow and causing an application to crash, which leads to a denial of service.
Statement: Red Hat Enterprise Linux - 6, 7, 8, 9 are not affected, because vulnerable code is not present in binary RPMs of Vim shipped with RHEL.
Red Hat Enterprise Virtualization 4 consumes RHEL-8 vim, and as RHEL 8 is not affected, Hence, RHEV is also not affected.
Red Hat Product Security has rated this iss
Microsoft
heap buffer overflow in get_one_sourceline in vim/vim
vendor_msrc·2022-03-08·CVSS 7.8
CVE-2022-1160 [HIGH] CWE-122 heap buffer overflow in get_one_sourceline in vim/vim
heap buffer overflow in get_one_sourceline in vim/vim
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
@huntrdev: @huntrdev
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https:/
Debian
CVE-2022-1160: vim - heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to...
vendor_debian·2022·CVSS 7.8
CVE-2022-1160 [HIGH] CVE-2022-1160: vim - heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to...
heap buffer overflow in get_one_sourceline in GitHub repository vim/vim prior to 8.2.4647.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5dbhttps://huntr.dev/bounties/a6f3222d-2472-439d-8881-111138a5694chttps://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-32https://security.gentoo.org/glsa/202305-16https://github.com/vim/vim/commit/2bdad6126778f907c0b98002bfebf0e611a3f5dbhttps://huntr.dev/bounties/a6f3222d-2472-439d-8881-111138a5694chttps://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-32https://security.gentoo.org/glsa/202305-16
2022-03-30
Published