CVE-2022-50212
Last modified
CVE-2022-50212 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow CHAIN_ID to refer to another table When doing lookups for chains on the same batch by using its ID, a chain from a different table can be used. If a rule is added to a table but refers to a chain in a different table, it will be linked to the chain in table2, but would have expressions referring to objects in table1. Then, when table1 is removed, the rule will not be removed as its linked to a chain in table2. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not allow CHAIN_ID to refer to another table When doing lookups for chains on the same batch by using its ID, a chain from a different table can be used. If a rule is added to a table but refers to a chain in a different table, it will be linked to the chain in table2, but would have expressions referring to objects in table1. Then, when table1 is removed, the rule will not be removed as its linked to a chain in table2. When expressions in the rule are processed or removed, that will lead to a use-after-free. When looking for chains by ID, use the table that was used for the lookup by name, and only return chains belonging to that same table.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.9, < 5.10.137 |
| Linux | Linux Kernel | >= 5.11, < 5.15.61 |
| Linux | Linux Kernel | >= 5.16, < 5.18.18 |
| Linux | Linux Kernel | >= 5.19, < 5.19.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-50212?
How severe is CVE-2022-50212?
How do I fix CVE-2022-50212?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50206In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50207In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50208In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50209In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50210In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50211In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-50213In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50214In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50215In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50216Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-50217In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50218In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-50212?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
