Cloud Foundry Logo
blog single gear
Security Advisory

USN-4582-1: Vim vulnerabilities




Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 16.04
  • Canonical Ubuntu 18.04


It was discovered that Vim incorrectly handled permissions on the .swp file. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 16.04 LTS. (CVE-2017-17087)

It was discovered that Vim incorrectly handled restricted mode. A local attacker could possibly use this issue to bypass restricted mode and execute arbitrary commands. Note: This update only makes executing shell commands more difficult. Restricted mode should not be considered a complete security measure. (CVE-2019-20807)

CVEs contained in this USN include: CVE-2017-17087, CVE-2019-20807.

Affected Cloud Foundry Products and Versions

Severity is low unless otherwise noted.

  • cflinuxfs3
    • All versions prior to 0.209.0
  • Xenial Stemcells
    • 315.x versions prior to 315.198
    • 456.x versions prior to 456.125
    • 621.x versions prior to 621.89
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 14.0.0


Users of affected products are strongly encouraged to follow the mitigations below. The Cloud Foundry project recommends upgrading the following releases:

  • cflinuxfs3
    • Upgrade All versions to 0.209.0 or greater
  • Xenial Stemcells
    • Upgrade 315.x versions to 315.198 or greater
    • Upgrade 456.x versions to 456.125 or greater
    • Upgrade 621.x versions to 621.89 or greater
    • All other stemcells should be upgraded to the latest version available on
  • CF Deployment
    • Upgrade All versions to 14.0.0 or greater


2020-11-20: Initial vulnerability report published.

Cloud Foundry Foundation Security Team Profile Image

Cloud Foundry Foundation Security Team, AUTHOR