Skip to content

MacVim is vulnerable to arbitrary code execution via modelines (vim < 8.1.1365) #898

Closed

Description

@raimue

Vim before 8.1.1365 is vulnerable to arbitrary code execution via modelines by opening a specially crafted text file.

A detailed description of the issue was published here:
https://github.com/numirias/security/blob/master/doc/2019-06-04_ace-vim-neovim.md

Although the original vulnerability was patched with 8.1.1365, I would suggest to update at least to vim 8.1.1368, as the follow-up patches add the new option :set modelineexpr as another mitigation for similar attacks.

Activity

  1. added this to the snapshot-156 milestone on Jun 5, 2019
  2. ychin commented on Jun 5, 2019

    @ychin
    Member

    Thanks for pointing out. Will update.

  3. added a commit that references this issue on Jun 6, 2019
  4. added a commit that references this issue on Jun 11, 2019
  5. ychin commented on Jun 11, 2019

    @ychin
    Member

    Updated to latest and pushed a release out. Closing.

  6. lilyball commented on Jun 11, 2019

    @lilyball
    Contributor

    The changelog for snapshot-156 incorrectly claims the vulnerability was fixed in Vim 8.1.265.

  7. ychin commented on Jun 12, 2019

    @ychin
    Member

    @lilyball Thanks for pointing that out. I fixed the typo in release page and the auto-updater's message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions