Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2022-2175: patch 8.2.5148: invalid memory access when using expression on comman… · vim/vim@6046ade

Buffer Over-read in GitHub repository vim/vim prior to 8.2.

CVE
#git#perl#ruby

@@ -1206,6 +1206,7 @@ cmdline_insert_reg(int *gotesc UNUSED)

{

int i;

int c;

int save_new_cmdpos = new_cmdpos;

This comment has been minimized.

Sign in to view

Copy link

****djklimes** Jun 22, 2022**

When I build this change with:
./configure --with-features=tiny --enable-perlinterp=no --enable-pythoninterp=no --enable-python3interp=no --enable-rubyinterp=no --enable-luainterp=no --with-vim-name=vim-minimal --enable-gui=no
make
it fails with:
ex_getln.c:1209:35: error: ‘new_cmdpos’ undeclared (first use in this function); did you mean ‘set_cmdspos’?
1209 | int save_new_cmdpos = new_cmdpos;

#ifdef USE_ON_FLY_SCROLL

dont_scroll = TRUE; // disallow scrolling here

@@ -1224,8 +1225,6 @@ cmdline_insert_reg(int *gotesc UNUSED)

#ifdef FEAT_EVAL

/*

* Insert the result of an expression.

* Need to save the current command line, to be able to enter

* a new one…

*/

new_cmdpos = -1;

if (c == ‘=’)

@@ -1266,6 +1265,8 @@ cmdline_insert_reg(int *gotesc UNUSED)

}

#endif

}

new_cmdpos = save_new_cmdpos;

// remove the double quote

redrawcmd();

Related news

Gentoo Linux Security Advisory 202305-16

Gentoo Linux Security Advisory 202305-16 - Multiple vulnerabilities have been found in Vim, the worst of which could result in denial of service. Versions less than 9.0.1157 are affected.

Ubuntu Security Notice USN-5995-1

Ubuntu Security Notice 5995-1 - 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 possible execute arbitrary code. This issue only affected Ubuntu 14.04 ESM, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu 22.04 LTS.

CVE-2022-46756: DSA-2022-335: Dell VxRail Security Update for Multiple Third-Party Component Vulnerabilities

Dell VxRail, versions prior to 7.0.410, contain a Container Escape Vulnerability. A local high-privileged attacker could potentially exploit this vulnerability, leading to the execution of arbitrary OS commands on the container's underlying OS. Exploitation may lead to a system take over by an attacker.

Scanvus now supports Vulners and Vulns.io VM Linux vulnerability detection APIs

Hello everyone! Great news for my open source Scanvus project! You can now perform vulnerability checks on Linux hosts and docker images not only using the Vulners.com API, but also with the Vulns.io VM API. It’s especially nice that all the code to support the new API was written and contributed by colleagues from Vulns.io. […]

Gentoo Linux Security Advisory 202208-32

Gentoo Linux Security Advisory 202208-32 - Multiple vulnerabilities have been discovered in Vim, the worst of which could result in denial of service. Versions less than 9.0.0060 are affected.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907