CVE-2022-2586Linux Kernel Use-After-Free Vulnerability
CVSS score
7.8
High
CVSS 3.1 from NVD
Exploit probability (EPSS)
10.2%
10.2% chance of exploitation in the next 30 days, higher than 95.8% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 26 Jun 2024.
US federal deadline to fix: 17 Jul 2024.
Official 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.
Source: NVD · CNA: security@ubuntu.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 26 Jun 2024.
US federal agencies must fix it by 17 Jul 2024. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply updates per vendor instructions or discontinue use of the product if updates are unavailable.
Check whether you're affected
Find every system running Siemens Simatic S7-1500 Tm Mfp Firmware, Siemens Sinec Os, Linux Kernel, Canonical Ubuntu Linux, The Linux Kernel Organization Linux and compare its version with the affected versions.
Update to a fixed version
- Update Linux Kernel, Linux to 4.14.316, 4.19.256, 5.4.211, 5.10.137 or later, on the branch you run.
- Update Simatic S7-1500 Tm Mfp Firmware to 1.1 or later.
- Update Sinec Os to 2.4 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Siemens Simatic S7-1500 Tm Mfp Firmware | < 1.1 |
| Siemens Sinec Os | < 2.4 |
| Linux Linux Kernel | ≥ 3.16, < 4.14.316 · ≥ 4.15, < 4.19.256 · ≥ 4.20, < 5.4.211 · ≥ 5.5, < 5.10.137 · ≥ 5.11, < 5.15.61 · ≥ 5.16, < 5.18.18 |
| Canonical Ubuntu Linux | 14.04 · 16.04 · 18.04 · 20.04 · 22.04 |
| The Linux Kernel Organization Linux | ≥ 3.16, < 4.14.316 · ≥ 4.15, < 4.19.256 · ≥ 4.20, < 5.4.211 · ≥ 5.5, < 5.10.137 · ≥ 5.11, < 5.15.61 · ≥ 5.16, < 5.18.18 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | < V1.1 |
Weakness
- CWE-416 use-after-free
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2022-2586 being exploited?
Yes. CISA added CVE-2022-2586 to its Known Exploited Vulnerabilities catalog on 26 Jun 2024, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 10.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2022-2586?
CVE-2022-2586 has a CVSS 3.1 base score of 7.8 (high).
Which versions are affected?
Siemens Simatic S7-1500 Tm Mfp Firmware (< 1.1), Siemens Sinec Os (< 2.4), Linux Linux Kernel (≥ 3.16, < 4.14.316; ≥ 4.15, < 4.19.256; ≥ 4.20, < 5.4.211; ≥ 5.5, < 5.10.137; ≥ 5.11, < 5.15.61; ≥ 5.16, < 5.18.18), Canonical Ubuntu Linux (14.04; 16.04; 18.04; 20.04; 22.04), The Linux Kernel Organization Linux (≥ 3.16, < 4.14.316; ≥ 4.15, < 4.19.256; ≥ 4.20, < 5.4.211; ≥ 5.5, < 5.10.137; ≥ 5.11, < 5.15.61; ≥ 5.16, < 5.18.18), Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem (< V1.1)
Is there a patch for CVE-2022-2586?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lore.kernel.org/netfilter-devel/20220809170148.164591-1-cascardo@canonical.com/T/#t(Mailing List, Patch)
- www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586(Exploit, Third Party Advisory)
- cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586(Third Party Advisory)
- ubuntu.com/security/notices/USN-5557-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5560-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5560-2(Third Party Advisory)
- ubuntu.com/security/notices/USN-5562-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5564-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5565-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5566-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5567-1(Third Party Advisory)
- ubuntu.com/security/notices/USN-5582-1(Third Party Advisory)
- www.openwall.com/lists/oss-security/2022/08/09/5(Mailing List)
- www.zerodayinitiative.com/advisories/ZDI-22-1118/(Third Party Advisory, VDB Entry)
- cert-portal.siemens.com/productcert/html/ssa-794697.html(Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-806742.html(Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.