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-2024-2452

Active Moderate

ALAS2-2024-2452 (medium): vim

Published
05 Feb 2024
Updated
29 Feb 2024

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
CVE
CVE-2023-48706
CVE-2024-22667

Description

Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user

Read full publisher description 808 characters

Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue. (CVE-2023-48706) Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions. (CVE-2024-22667)

Solution

Run yum update vim or yum update --advisory ALAS2-2024-2452 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-9.0.2153-1.amzn2.0.1.aarch64
    • vim-minimal-9.0.2153-1.amzn2.0.1.aarch64
    • vim-enhanced-9.0.2153-1.amzn2.0.1.aarch64
    • vim-X11-9.0.2153-1.amzn2.0.1.aarch64
    • xxd-9.0.2153-1.amzn2.0.1.aarch64
    • vim-debuginfo-9.0.2153-1.amzn2.0.1.aarch64
  2. 2vim

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • vim-common-9.0.2153-1.amzn2.0.1.i686
    • vim-minimal-9.0.2153-1.amzn2.0.1.i686
    • vim-enhanced-9.0.2153-1.amzn2.0.1.i686
    • vim-X11-9.0.2153-1.amzn2.0.1.i686
    • xxd-9.0.2153-1.amzn2.0.1.i686
    • vim-debuginfo-9.0.2153-1.amzn2.0.1.i686
  3. 3vim

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • vim-filesystem-9.0.2153-1.amzn2.0.1.noarch
    • vim-data-9.0.2153-1.amzn2.0.1.noarch
  4. 4vim

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • vim-9.0.2153-1.amzn2.0.1.src
  5. 5vim

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • vim-common-9.0.2153-1.amzn2.0.1.x86_64
    • vim-minimal-9.0.2153-1.amzn2.0.1.x86_64
    • vim-enhanced-9.0.2153-1.amzn2.0.1.x86_64
    • vim-X11-9.0.2153-1.amzn2.0.1.x86_64
    • xxd-9.0.2153-1.amzn2.0.1.x86_64
    • vim-debuginfo-9.0.2153-1.amzn2.0.1.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

4
  • CVE-2023-48706 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2023-48706
  • CVE-2024-22667 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2024-22667
  • CVE-2023-48706 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-48706
  • CVE-2024-22667 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22667

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-2024-2452.htmlUnknownf330b9ce7df7ab06759063ebbc692cdd5c618c3fb8fa2db3c9e3949973c0e407amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2452.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2452.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

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