REDHAT-BUG-2581294: Low severity vim Vim vulnerability
Vim 9.2.0405 before 9.2.1352 contains a security bypass vulnerability in expandtagfname() that allows attackers to evade 'tagsecure' URL checks by escaping URLs in tags file entries. Attackers can supply a crafted tags file in a cloned repository so that jumping to a tag makes netrw fetch an attacker-controlled URL leaking environment variable values.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Users of affected Vim versions who open or use a cloned repository containing an attacker-supplied tags file are exposed when they jump to a crafted tag entry.
What does an attacker need to do to exploit it?
The attacker needs to provide a crafted tags file entry that escapes a URL check in expand_tag_fname(). When the victim jumps to that tag, netrw can fetch an attacker-controlled URL.
What could be exposed if exploitation succeeds?
The attacker-controlled URL fetch can leak environment variable values.