CVE-2022-2586
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 10.46%• Percentile: 96%
Techniques & Countermeasures
- CWE-416•Use After Free
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.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04 | 20.04 | 22.04
- debian•linux
< 5.10.136-1 | < 5.18.16-1 | < 5.18.16-1 | < 5.18.16-1
- ubuntu•linux
< 4.4.0-231.265 | < 4.15.0-191.202 | < 5.4.0-124.140 | < 5.15.0-46.49
- ubuntu•linux-aws
< 4.4.0-1111.117 | < 4.4.0-1147.162 | < 4.15.0-1139.150 | < 5.4.0-1083.90 | < 5.15.0-1017.21
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1017.21~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1083.90~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2078.83 | all | < 5.4.0-1083.90+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1139.150~16.04.1
- ubuntu•linux-azure
< 4.15.0-1149.164~14.04.1 | < 4.15.0-1149.164~16.04.1 | all | < 5.4.0-1089.94 | < 5.15.0-1017.20
- ubuntu•linux-azure-4.15
< 4.15.0-1149.164
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1017.20~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1089.94~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2059.65 | all | < 5.4.0-1089.94+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1044.49
- ubuntu•linux-dell300x
< 4.15.0-1051.56
- ubuntu•linux-fips
< 4.4.0-1081.88 | all | < 4.15.0-1096.107 | < 5.4.0-1059.67
- ubuntu•linux-gcp
< 4.15.0-1134.150~16.04.2 | all | < 5.4.0-1086.94 | < 5.15.0-1016.21
- ubuntu•linux-gcp-4.15
< 4.15.0-1134.150
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1016.21~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1086.94~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2043.48 | all | < 5.4.0-1086.94+fips1
- ubuntu•linux-gke
< 5.4.0-1080.86 | < 5.15.0-1014.17
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
< 5.15.0-1014.17~20.04.1
- ubuntu•linux-gke-5.4
< 5.4.0-1080.86~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1051.54 | < 5.15.0-1002.4
- ubuntu•linux-gkeop-5.4
< 5.4.0-1051.54~18.04.1
- ubuntu•linux-hwe
< 4.15.0-191.202~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
all
- ubuntu•linux-hwe-5.15
< 5.15.0-46.49~20.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-124.140~18.04.1
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1031.35 | < 5.15.0-1012.14
- ubuntu•linux-ibm-5.4
< 5.4.0-1031.35~18.04.1
Showing first 50 affected entries in server-rendered view.
References (19)
- https://ubuntu.com/security/notices/USN-5564-1
- https://ubuntu.com/security/notices/USN-5560-2
- https://ubuntu.com/security/notices/USN-5582-1
- https://ubuntu.com/security/notices/USN-5567-1
- https://ubuntu.com/security/notices/USN-5560-1
- https://ubuntu.com/security/notices/USN-5566-1
- https://www.openwall.com/lists/oss-security/2022/08/09/5
- https://ubuntu.com/security/notices/USN-5565-1
- https://www.zerodayinitiative.com/advisories/ZDI-22-1118/
- https://lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t
- https://ubuntu.com/security/notices/USN-5562-1
- https://ubuntu.com/security/notices/USN-5557-1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586
- https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586
- https://ubuntu.com/security/CVE-2022-2586
- https://www.cve.org/CVERecord?id=CVE-2022-2586
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://security-tracker.debian.org/tracker/CVE-2022-2586