SecurityContext

CVE-2021-3770: Vim - Buffer Overflow

  • Cve: CVE-2021-3770
  • Name: Vim - Buffer Overflow
  • Description: vim is vulnerable to Heap-based Buffer Overflow
  • Impact: Local attackers can execute arbitrary code with Vim privileges, potentially leading to system compromise.
  • Remediation: Update Vim to the latest version available to patch the vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to open malicious file
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00735
  • Epss percentile: 0.55394
  • Assignee: [email protected]
  • Published at: 2021-09-06T12:15:08Z
  • Age in days: 1905
  • Modified at: 2026-06-17T04:05:43Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 8
  • Products total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-3770
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-122Heap-based Buffer Overflow
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365nvd2021-09-06

References

Same in every row:

  • Source: nvd
UrlTags
http://www.openwall.com/lists/oss-security/2021/10/01/1Mailing List, Patch, Third Party Advisory
https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9Patch, Third Party Advisory
https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365Exploit, Issue Tracking, Patch, Third Party Advisory
https://security.gentoo.org/glsa/202208-32Third Party Advisory
https://security.netapp.com/advisory/ntap-20221124-0003/Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2CJLY3CF55I2ULG2X4ENXLSXAXYW5J4/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X4FFQARG3LGREPDZRI4C7ERQL3RJKEWQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZFNTMVZCN4TRTTCAXRLVQ7H2P7FYAIZQ/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
vim:vim< 8.2.3408/v1/products/vim/vim
fedoraproject:fedora= 35, = 34, = 33/v1/products/fedoraproject/fedora
netapp:ontap_select_deploy_administration_utilityall versions/v1/products/netapp/ontap_select_deploy_administration_utility

Projects

RepositoryLink kindsIndexedUrl
vim/vimcommityes/v1/repositories/vim/vim

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-09-06
  • Authentication required: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports