USN-5147-1

Source
https://ubuntu.com/security/notices/USN-5147-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5147-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5147-1
Related
Published
2021-11-15T13:47:04.686637Z
Modified
2021-11-15T13:47:04.686637Z
Summary
vim vulnerabilities
Details

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 14.04 ESM. (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. This issue only affected Ubuntu 14.04 ESM. (CVE-2019-20807)

Brian Carpenter discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. This issue only affected Ubuntu 20.04 LTS, Ubuntu 21.04 and Ubuntu 21.10. (CVE-2021-3872)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3903)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3927)

It was discovered that vim incorrectly handled memory when opening certain files. If a user was tricked into opening a specially crafted file, a remote attacker could crash the application, leading to a denial of service, or possible execute arbitrary code with user privileges. (CVE-2021-3928)

References

Affected packages

Ubuntu:Pro:14.04:LTS / vim

Package

Name
vim
Purl
pkg:deb/ubuntu/vim?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:7.4.052-1ubuntu3.1+esm4

Affected versions

2:7.*

2:7.4.000-1ubuntu2
2:7.4.052-1ubuntu1
2:7.4.052-1ubuntu2
2:7.4.052-1ubuntu3
2:7.4.052-1ubuntu3.1
2:7.4.052-1ubuntu3.1+esm1
2:7.4.052-1ubuntu3.1+esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-athena"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-athena-dbgsym"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-common"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-common-dbgsym"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-dbg"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-dbgsym"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-doc"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-gnome"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-gnome-dbgsym"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-gtk"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-gtk-dbgsym"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-gui-common"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-lesstif"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-nox"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-nox-dbgsym"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-runtime"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-tiny"
        },
        {
            "binary_version": "2:7.4.052-1ubuntu3.1+esm4",
            "binary_name": "vim-tiny-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / vim

Package

Name
vim
Purl
pkg:deb/ubuntu/vim?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:7.4.1689-3ubuntu1.5+esm3

Affected versions

2:7.*

2:7.4.712-2ubuntu4
2:7.4.826-1ubuntu1
2:7.4.826-1ubuntu2
2:7.4.826-1ubuntu3
2:7.4.963-1ubuntu1
2:7.4.963-1ubuntu4
2:7.4.963-1ubuntu5
2:7.4.1689-3ubuntu1
2:7.4.1689-3ubuntu1.1
2:7.4.1689-3ubuntu1.2
2:7.4.1689-3ubuntu1.3
2:7.4.1689-3ubuntu1.4
2:7.4.1689-3ubuntu1.5
2:7.4.1689-3ubuntu1.5+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-athena"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-athena-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-athena-py2"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-athena-py2-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-common"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-common-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-doc"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gnome"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gnome-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gnome-py2"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gnome-py2-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk-py2"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk-py2-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk3"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk3-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk3-py2"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gtk3-py2-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-gui-common"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-nox"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-nox-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-nox-py2"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-nox-py2-dbgsym"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-runtime"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-tiny"
        },
        {
            "binary_version": "2:7.4.1689-3ubuntu1.5+esm3",
            "binary_name": "vim-tiny-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / vim

Package

Name
vim
Purl
pkg:deb/ubuntu/vim?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:8.0.1453-1ubuntu1.7

Affected versions

2:8.*

2:8.0.0197-4ubuntu5
2:8.0.1144-1ubuntu1
2:8.0.1401-1ubuntu1
2:8.0.1401-1ubuntu2
2:8.0.1401-1ubuntu3
2:8.0.1453-1ubuntu1
2:8.0.1453-1ubuntu1.1
2:8.0.1453-1ubuntu1.3
2:8.0.1453-1ubuntu1.4
2:8.0.1453-1ubuntu1.6

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-athena"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-athena-dbgsym"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-common"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-dbgsym"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-doc"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-gnome"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-gtk"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-gtk-dbgsym"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-gtk3"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-gtk3-dbgsym"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-gui-common"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-nox"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-nox-dbgsym"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-runtime"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-tiny"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "vim-tiny-dbgsym"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "xxd"
        },
        {
            "binary_version": "2:8.0.1453-1ubuntu1.7",
            "binary_name": "xxd-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / vim

Package

Name
vim
Purl
pkg:deb/ubuntu/vim?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:8.1.2269-1ubuntu5.4

Affected versions

2:8.*

2:8.1.0875-5ubuntu2
2:8.1.0875-5ubuntu3
2:8.1.0875-5ubuntu4
2:8.1.2269-1ubuntu1
2:8.1.2269-1ubuntu4
2:8.1.2269-1ubuntu5
2:8.1.2269-1ubuntu5.3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-athena"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-athena-dbgsym"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-common"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-dbgsym"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-doc"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-gtk"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-gtk3"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-gtk3-dbgsym"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-gui-common"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-nox"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-nox-dbgsym"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-runtime"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-tiny"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "vim-tiny-dbgsym"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "xxd"
        },
        {
            "binary_version": "2:8.1.2269-1ubuntu5.4",
            "binary_name": "xxd-dbgsym"
        }
    ]
}