HIGH
Heap-based Buffer Overflow in vim/vim
Published Aug 17, 2022
7.8
HIGHCVSS 3.1
EPSS 0.48%
Description
Heap-based Buffer Overflow in GitHub repository vim/vim prior to 9.0.0220.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<9.0.0220
- Version
Configuration 2
- 37
No data.
Red Hat Enterprise Linux 6
vim
Out of support scope
Red Hat Enterprise Linux 7
vim
Out of support scope
Red Hat Enterprise Linux 8
vim
Fix deferred
Red Hat Enterprise Linux 9
vim
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | vim | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | vim | Out of support scope | n/a |
| Red Hat Enterprise Linux 8 | vim | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | vim | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
It is not possible to trigger a crash using this vulnerability as the vulnerable functions latin_ptr2len() do not have logic to return zero length when passed null values which is why this vulnerability has been rated as a low.
Red Hat mitigation
Untrusted vim scripts with -s [scriptin] are not recommended to run.
Weaknesses (1)
References (9)
- https://access.redhat.com/security/cve/CVE-2022-2849 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2122137 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-35083 Advisory
- https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2 PatchThird Party Advisory
- https://huntr.dev/bounties/389aeccd-deb9-49ae-9b6a-24c12d79b02e ExploitIssue TrackingPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/ vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-2849
- https://security.gentoo.org/glsa/202305-16 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2022-2849
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2022-2849 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2122137 | Issue Tracking | |
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-35083 | Advisory | |
| https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2 | PatchThird Party Advisory | |
| https://huntr.dev/bounties/389aeccd-deb9-49ae-9b6a-24c12d79b02e | ExploitIssue TrackingPatchThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/ | vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-2849 | ||
| https://security.gentoo.org/glsa/202305-16 | vendor-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2022-2849 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner @huntrdev
Published Aug 17, 2022
Updated Aug 3, 2024
Reserved Aug 16, 2022
Link CVE-2022-2849
CISA Vulnrichment
Updated n/a
ENISA EUVD
EUVD-2022-35083 Assigner @huntrdev
Published Aug 17, 2022
Updated Aug 3, 2024
Exploited since n/a
Link EUVD-2022-35083