Incorrect Privilege Assignment Affecting vim-common package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-VIMCOMMON-1368449
  • published26 Jul 2021
  • disclosed4 Nov 2017

Introduced: 4 Nov 2017

CVE-2017-17087  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 vim-common.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-common package and not the vim-common package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

fileio.c in Vim prior to 8.0.1263 sets the group ownership of a .swp file to the editor's primary group (which may be different from the group ownership of the original file), which allows local users to obtain sensitive information by leveraging an applicable group membership, as demonstrated by /etc/shadow owned by root:shadow mode 0640, but /etc/.shadow.swp owned by root:users mode 0640, a different vulnerability than CVE-2017-1000382.

CVSS Scores

version 3.1