Lucene search

K
cloudfoundryCloud FoundryCFOUNDRY:5A9F20C513345AE6E0F4E88231DC97B8
HistoryNov 09, 2023 - 12:00 a.m.

USN-6420-1: Vim vulnerabilities | Cloud Foundry

2023-11-0900:00:00
Cloud Foundry
www.cloudfoundry.org
14
vim
memory handling
vulnerabilities
ubuntu 18.04
ubuntu 20.04
ubuntu 22.04
update
cloud foundry
bionic stemcells
cflinuxfs4
jammy stemcells
cf deployment

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.9

Confidence

High

EPSS

0.005

Percentile

77.6%

Severity

Medium

Vendor

Canonical Ubuntu

Versions Affected

  • Canonical Ubuntu 18.04
  • Canonical Ubuntu 22.04

Description

It was discovered that Vim incorrectly handled memory when opening certain files. If an attacker could trick a user into opening a specially crafted file, it could cause Vim to crash, or possibly execute arbitrary code. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-3235, CVE-2022-3278, CVE-2022-3297, CVE-2022-3491) It was discovered that Vim incorrectly handled memory when opening certain files. If an attacker could trick a user into opening a specially crafted file, it could cause Vim to crash, or possibly execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3352, CVE-2022-4292) It was discovered that Vim incorrectly handled memory when replacing in virtualedit mode. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3234) It was discovered that Vim incorrectly handled memory when autocmd changes mark. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3256) It was discovered that Vim did not properly perform checks on array index with negative width window. An attacker could possibly use this issue to cause a denial of service, or execute arbitrary code. (CVE-2022-3324) It was discovered that Vim did not properly perform checks on a put command column with a visual block. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3520) It was discovered that Vim incorrectly handled memory when using autocommand to open a window. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-3591) It was discovered that Vim incorrectly handled memory when updating buffer of the component autocmd handler. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS. (CVE-2022-3705) It was discovered that Vim incorrectly handled floating point comparison with incorrect operator. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS. and Ubuntu 22.04 LTS. (CVE-2022-4293) Update Instructions: Run sudo pro fix USN-6420-1 to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: vim-common – 2:8.0.1453-1ubuntu1.13+esm5 vim-gnome – 2:8.0.1453-1ubuntu1.13+esm5 vim-athena – 2:8.0.1453-1ubuntu1.13+esm5 xxd – 2:8.0.1453-1ubuntu1.13+esm5 vim-gtk – 2:8.0.1453-1ubuntu1.13+esm5 vim-gui-common – 2:8.0.1453-1ubuntu1.13+esm5 vim – 2:8.0.1453-1ubuntu1.13+esm5 vim-doc – 2:8.0.1453-1ubuntu1.13+esm5 vim-tiny – 2:8.0.1453-1ubuntu1.13+esm5 vim-runtime – 2:8.0.1453-1ubuntu1.13+esm5 vim-gtk3 – 2:8.0.1453-1ubuntu1.13+esm5 vim-nox – 2:8.0.1453-1ubuntu1.13+esm5 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro

CVEs contained in this USN include: CVE-2022-3256, CVE-2022-3324, CVE-2022-3591, CVE-2022-3234, CVE-2022-3235, CVE-2022-3278, CVE-2022-3297, CVE-2022-3352, CVE-2022-3491, CVE-2022-3520, CVE-2022-3705, CVE-2022-4292, CVE-2022-4293.

Affected Cloud Foundry Products and Versions

Severity is medium unless otherwise noted.

  • Bionic Stemcells
    • 1.x versions
    • All other stemcells not listed.
  • cflinuxfs4
    • All versions prior to 1.41.0
  • Jammy Stemcells
    • 1.x versions prior to 1.260
    • All other stemcells not listed.
  • CF Deployment
    • All versions prior to 30.0.0, or later versions with Jammy Stemcells prior to 1.260

Mitigation

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

  • Bionic Stemcells
    • There are no fixed versions of this product
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • cflinuxfs4
    • Upgrade all versions to 1.41.0 or greater
  • Jammy Stemcells
    • Upgrade 1.x versions to 1.260 or greater
    • All other stemcells should be upgraded to the latest version available on bosh.io.
  • CF Deployment
    • Upgrade all versions to 30.0.0 or greater and upgrade Jammy Stemcells to 1.260 or greater

References

History

2023-11-09: Initial vulnerability report published.

Affected configurations

Vulners
Node
cloudfoundrygorouterRange<1.41.0
OR
cloudfoundrygorouterRange<1.260
OR
cloudfoundrycf-deploymentRange<30.0.0

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.9

Confidence

High

EPSS

0.005

Percentile

77.6%