Exposure of Resource to Wrong Sphere Affecting vim-small package, versions <8.2.5038-150000.5.21.1


Severity

Recommended
low

Based on SUSE Linux Enterprise Server 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 IDSNYK-SLES154-VIMSMALL-2929128
  • published17 Jun 2022
  • disclosed16 Jun 2022

Introduced: 16 Jun 2022

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

How to fix?

Upgrade SLES:15.4 vim-small to version 8.2.5038-150000.5.21.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vim-small package and not the vim-small package as distributed by SLES. See How to fix? for SLES:15.4 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