Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2022-1771

Active Moderate

ALAS2-2022-1771 (medium): vim

Published
07 Apr 2022
Updated
07 Apr 2022

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records

Description

A flaw was found in vim that causes an out-of-range pointer offset vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0554) A heap-based buffer overflow flaw was found in vim's ex_retab() function of indent.c file. This flaw occurs when repeatedly using :retab. This flaw allows an

Read full publisher description 1321 characters

A flaw was found in vim that causes an out-of-range pointer offset vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0554) A heap-based buffer overflow flaw was found in vim's ex_retab() function of indent.c file. This flaw occurs when repeatedly using :retab. This flaw allows an attacker to trick a user into opening a crafted file triggering a heap-overflow. (CVE-2022-0572) A stack-based buffer overflow flaw was found in vim's ga_concat_shorten_esc() function of src/testing.c file. This flaw allows an attacker to trick a user into opening a crafted file, triggering a stack-overflow. This issue can lead to an application crash, causing a denial of service. (CVE-2022-0629) A flaw was found in vim. The vulnerability occurs due to a crash when using a special multi-byte character and leads to an out-of-range vulnerability. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution. (CVE-2022-0685) A NULL pointer dereference flaw was found in vim's find_ucmd() function of usercmd.c file. This flaw allows an attacker to trick a user into opening a crafted file, triggering a NULL pointer dereference. This issue leads to an application crash, causing a denial of service. (CVE-2022-0696)

Solution

Run yum update vim or yum update --advisory ALAS2-2022-1771 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
  1. 1vim

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • vim-common-8.2.4428-1.amzn2.0.3.aarch64
    • vim-minimal-8.2.4428-1.amzn2.0.3.aarch64
    • vim-enhanced-8.2.4428-1.amzn2.0.3.aarch64
    • vim-X11-8.2.4428-1.amzn2.0.3.aarch64
    • vim-debuginfo-8.2.4428-1.amzn2.0.3.aarch64
  2. 2vim

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • vim-common-8.2.4428-1.amzn2.0.3.i686
    • vim-minimal-8.2.4428-1.amzn2.0.3.i686
    • vim-enhanced-8.2.4428-1.amzn2.0.3.i686
    • vim-X11-8.2.4428-1.amzn2.0.3.i686
    • vim-debuginfo-8.2.4428-1.amzn2.0.3.i686
  3. 3vim

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • vim-filesystem-8.2.4428-1.amzn2.0.3.noarch
    • vim-data-8.2.4428-1.amzn2.0.3.noarch
  4. 4vim

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • vim-8.2.4428-1.amzn2.0.3.src
  5. 5vim

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • vim-common-8.2.4428-1.amzn2.0.3.x86_64
    • vim-minimal-8.2.4428-1.amzn2.0.3.x86_64
    • vim-enhanced-8.2.4428-1.amzn2.0.3.x86_64
    • vim-X11-8.2.4428-1.amzn2.0.3.x86_64
    • vim-debuginfo-8.2.4428-1.amzn2.0.3.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

10
  • CVE-2022-0554 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-0554
  • CVE-2022-0572 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-0572
  • CVE-2022-0629 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-0629
  • CVE-2022-0685 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-0685
  • CVE-2022-0696 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-0696
  • CVE-2022-0554 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0554
  • CVE-2022-0572 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0572
  • CVE-2022-0629 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0629
  • CVE-2022-0685 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0685
  • CVE-2022-0696 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0696

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2022-1771.htmlUnknowne6a1617e7e557ef98892f7959bff151278c4c58c81fafb092a267e4b99aa761bamazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1771.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1771.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected