Vulnerability Details : CVE-2022-2586
Potential exploit
It was discovered that a nft object or expression could reference a nft set on a different nft table, leading to a use-after-free once that table was deleted.
Vulnerability category: Memory Corruption
Products affected by CVE-2022-2586
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*
CVE-2022-2586 is in the CISA Known Exploited Vulnerabilities Catalog
CISA vulnerability name:
Linux Kernel Use-After-Free Vulnerability
CISA required action:
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
CISA description:
Linux Kernel contains a use-after-free vulnerability in the nft_object, allowing local attackers to escalate privileges.
Notes:
This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://seclists.org/oss-sec/2022/q3/131; https://nvd.nist.gov/vuln/detail/CVE-2022-2586
Added on
2024-06-26
Action due date
2024-07-17
Exploit prediction scoring system (EPSS) score for CVE-2022-2586
0.55%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 78 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-2586
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | 2024-01-12 |
5.3
|
MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H |
1.0
|
4.2
|
Canonical Ltd. | 2024-01-08 |
CWE ids for CVE-2022-2586
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by:
- nvd@nist.gov (Primary)
- security@ubuntu.com (Secondary)
References for CVE-2022-2586
-
https://ubuntu.com/security/notices/USN-5560-1
USN-5560-1: Linux kernel vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://ubuntu.com/security/notices/USN-5560-2
USN-5560-2: Linux kernel vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://ubuntu.com/security/notices/USN-5566-1
USN-5566-1: Linux kernel vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://www.zerodayinitiative.com/advisories/ZDI-22-1118/
ZDI-22-1118 | Zero Day InitiativeThird Party Advisory;VDB Entry
-
https://ubuntu.com/security/notices/USN-5565-1
USN-5565-1: Linux kernel vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://www.openwall.com/lists/oss-security/2022/08/09/5
oss-security - CVE-2022-2586 - Linux kernel nf_tables cross-table reference UAFMailing List
-
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586
CVE - CVE-2022-2586Third Party Advisory
-
https://ubuntu.com/security/notices/USN-5562-1
USN-5562-1: Linux kernel vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t
[PATCH 1/3] netfilter: nf_tables: do not allow SET_ID to refer to another tableMailing List;Patch
-
https://ubuntu.com/security/notices/USN-5564-1
USN-5564-1: Linux kernel (Intel IoTG) vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://ubuntu.com/security/notices/USN-5557-1
USN-5557-1: Linux kernel vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://ubuntu.com/security/notices/USN-5582-1
USN-5582-1: Linux kernel (Azure CVM) vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
-
https://ubuntu.com/security/notices/USN-5567-1
USN-5567-1: Linux kernel (OEM) vulnerabilities | Ubuntu security notices | UbuntuThird Party Advisory
Jump to