Vim
Vim affected by Command injection via newline in glob()
Vim is an open source, command line text editor. Prior to version 9.2.0202, a command injection vulnerability exists in Vim's glob() function on Unix-like systems. By including a newline character (\n) in a pattern passed to glob(), an attacker may be able to execute arbitrary shell commands. This vulnerability depends on the user's 'shell' setting. This issue has been patched in version 9.2.0202.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by NVD · CWE-78
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
vim vim
- < 9.2.0202
Fixed in 9.2.0202
Mitigation
Upgrade vim to 9.2.0202 or later.
References
- Vendor advisory github.com/vim/vim/security/advisories/GHSA-w5…
- Patch github.com/vim/vim/commit/645ed6597d1ea896c712…
- Release notes github.com/vim/vim/releases/tag/v9.2.0202
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.