CVE-2022-4293
published 2022-12-05CVE-2022-4293: Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
PriorityP416medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.46%
36.8th percentile
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | vim | < vim 2:9.0.0813-1 (bookworm) | vim 2:9.0.0813-1 (bookworm) |
| vim | vim | < 9.0.0804 | 9.0.0804 |
| vim | vim | >= 0 < 2:9.0.0813-1 | 2:9.0.0813-1 |
| vim | vim | >= 0 < 2:9.0.0813-1 | 2:9.0.0813-1 |
| vim | vim | >= 0 < 2:9.0.0813-1 | 2:9.0.0813-1 |
| vim | vim | >= 0 < 2:8.1.2269-1ubuntu5.18 | 2:8.1.2269-1ubuntu5.18 |
| vim | vim | >= 0 < 2:8.2.3995-1ubuntu2.12 | 2:8.2.3995-1ubuntu2.12 |
| vim | vim | >= 0 < 2:7.4.052-1ubuntu3.1+esm13 | 2:7.4.052-1ubuntu3.1+esm13 |
| vim | vim | >= 0 < 2:8.0.1453-1ubuntu1.13+esm5 | 2:8.0.1453-1ubuntu1.13+esm5 |
| vim | vim_vim | >= unspecified < 9.0.0804 | 9.0.0804 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv3.06.8MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian5.5LOW
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
vim vulnerabilities
osv·2023-10-09·CVSS 7.8
CVE-2022-3235 [HIGH] vim vulnerabilities
vim vulnerabilities
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 us
OSV
CVE-2022-4293: Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9
osv·2022-12-05·CVSS 5.5
CVE-2022-4293 [MEDIUM] CVE-2022-4293: Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
GHSA
GHSA-3h9w-jf77-pw27: Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9
ghsa_unreviewed·2022-12-05
CVE-2022-4293 [MEDIUM] CWE-1077 GHSA-3h9w-jf77-pw27: Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
Ubuntu
Vim vulnerabilities
vendor_ubuntu·2023-10-09·CVSS 7.8
CVE-2022-3591 [HIGH] Vim vulnerabilities
Title: Vim vulnerabilities
Summary: Several security issues were fixed in Vim.
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
Red Hat
vim: floating point exception in num_divide() in src/eval.c
vendor_redhat·2022-12-02·CVSS 5.5
CVE-2022-4293 [MEDIUM] CWE-697 vim: floating point exception in num_divide() in src/eval.c
vim: floating point exception in num_divide() in src/eval.c
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
A floating point exception flaw was found in Vim's num_divide() function of the eval.c file. This issue occurs when dividing the largest negative number by -1. This could allow an attacker to trick a user into opening a specially crafted file, triggering an application to crash and leading to a denial of service.
Statement: Red Hat Product Security has rated this issue as having a Low security impact, because the "victim" has to run an untrusted file in script mode.
For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/ and Red Hat Enterprise Linux Life Cyc
Debian
CVE-2022-4293: vim - Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim p...
vendor_debian·2022·CVSS 5.5
CVE-2022-4293 [MEDIUM] CVE-2022-4293: vim - Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim p...
Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804.
Scope: local
bookworm: resolved (fixed in 2:9.0.0813-1)
bullseye: open
forky: resolved (fixed in 2:9.0.0813-1)
sid: resolved (fixed in 2:9.0.0813-1)
trixie: resolved (fixed in 2:9.0.0813-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16bhttps://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143https://security.gentoo.org/glsa/202305-16https://security.netapp.com/advisory/ntap-20230203-0007/https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16bhttps://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143https://security.gentoo.org/glsa/202305-16https://security.netapp.com/advisory/ntap-20230203-0007/
2022-12-05
Published