USN-5433-1

Source
https://ubuntu.com/security/notices/USN-5433-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5433-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5433-1
Related
Published
2022-05-23T11:39:44.194140Z
Modified
2022-05-23T11:39:44.194140Z
Summary
vim vulnerabilities
Details

It was discovered that Vim incorrectly handled parsing of filenames in its search functionality. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service. (CVE-2021-3973)

It was discovered that Vim incorrectly handled memory when opening and searching the contents of certain files. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2021-3974)

It was discovered that Vim incorrectly handled memory when opening and editing certain files. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2021-3984, CVE-2021-4019, CVE-2021-4069)

It was discovered that Vim was using freed memory when dealing with regular expressions inside a visual selection. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2021-4192)

It was discovered that Vim was incorrectly performing read and write operations when in visual block mode, going beyond the end of a line and causing a heap buffer overflow. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2022-0261, CVE-2022-0318)

It was discovered that Vim was using freed memory when dealing with regular expressions through its old regular expression engine. If a user were tricked into opening a specially crafted file, an attacker could crash the application, leading to a denial of service, or possibly achieve code execution with user privileges. (CVE-2022-1154)

References

Affected packages

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+esm4

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
2:7.4.1689-3ubuntu1.5+esm3

Ecosystem specific

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