Advisory

USN-5093-1

Also known as: CVE-2021-3770, CVE-2021-3778, CVE-2021-3796

Summary

vim vulnerabilities

Details

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 possibly execute
arbitrary code with user privileges. This issue only affected
Ubuntu 20.04 LTS and Ubuntu 21.04. (CVE-2021-3770)

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 possibly execute
arbitrary code with user privileges. (CVE-2021-3778)

Dhiraj Mishra 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 possibly execute
arbitrary code with user privileges. (CVE-2021-3796)

Severity

Not rated by the source.

Dates

Published
2021-09-28 10:46 UTC
Modified
2026-06-29 13:49 UTC

Affected packages and fixes

vim

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2:8.0.1453-1ubuntu1.6 (ecosystem)

Fixed versions

2:8.0.1453-1ubuntu1.6

Fix

  • Fixed version 2:8.0.1453-1ubuntu1.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

vim

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 2:8.1.2269-1ubuntu5.3 (ecosystem)

Fixed versions

2:8.1.2269-1ubuntu5.3

Fix

  • Fixed version 2:8.1.2269-1ubuntu5.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences