Skip to content
pkgseek
Back to CVE search

CVE-2023-48706

medium · 4.7

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.

First indexed 11/22/2023View on NVD

Advisory Facts

Markdown

CVE-2023-48706 is rated MEDIUM (4.7), with 12 indexed affected package builds across 1 distributions.

Severity / Score
MEDIUM (4.7)
Affected builds
12
Affected distros
1
Distros with fixed_in
Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2023-48706?locale=en

Distribution-aware status

1
Distributions
12
Package/release records
2
Vendor advisories
12
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

12 affected package/release combinations
vim
focalamd64
2:8.1.2269-1ubuntu5Fixed in 2:8.1.2269-1ubuntu5.21
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade vim
vim-common
focalall
2:8.1.2269-1ubuntu5Fixed in 2:8.1.2269-1ubuntu5.21
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade vim-common
vim-doc
focalall
2:8.1.2269-1ubuntu5Fixed in 2:8.1.2269-1ubuntu5.21
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade vim-doc
vim-runtime
focalall
2:8.1.2269-1ubuntu5Fixed in 2:8.1.2269-1ubuntu5.21
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade vim-runtime
vim-tiny
focalamd64
2:8.1.2269-1ubuntu5Fixed in 2:8.1.2269-1ubuntu5.21
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade vim-tiny
xxd
focalamd64
2:8.1.2269-1ubuntu5Fixed in 2:8.1.2269-1ubuntu5.21
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo apt update && sudo apt install --only-upgrade xxd

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.