CVE-2022-2586KEV · OVERDUECWE-416

Linux Kernel Use-After-Free Vulnerability

Medium · published January 8, 2024

Patch now

The score understates this — it's already being exploited

CVSS calls it medium at 5.3. It is confirmed in active exploitation. It sits in the 95.7th percentile for exploit probability.

829
days past CISA
deadline
CVSS v3.1
5.3
EPSS
10%
Percentile
95.7
In the wild
Confirmed
What it is

⚠️ A misplaced pointer is causing chaos! When a non-fungible token (NFT) object references a deleted NFT set from another table, it creates a dangerous use-after-free vulnerability. 😱 Picture a restaurant that allows diners to order from a menu, but if the daily specials get scrapped without a heads-up, the kitchen might accidentally serve a dish that no longer exists! That's the same kind of confusion happening here. An attacker could exploit this flaw to manipulate NFTs, potentially leading to data corruption or unexpected behavior in the application. It's like opening a door to a hidden room where anything could happen — and you never know what might come rushing out!

Put simply

Picture a restaurant that allows diners to order from a menu, but if the daily specials get scrapped without a heads-up, the kitchen might accidentally serve a dish that no longer exists! That's the same kind of confusion happening here. This use-after-free vulnerability arises when an NFT object or expression incorrectly references a deleted NFT set from a different table, which may lead to memory safety issues in the application.

What to do

An attacker could exploit this flaw to manipulate NFTs, potentially leading to data corruption or unexpected behavior in the application. It's like opening a door to a hidden room where anything could happen — and you never know what might come rushing out! Immediately update to the patched version if available, and review your NFT management code to ensure proper references and memory handling to avoid such pitfalls. Regular audits can help catch these sneaky bugs before they become problematic! You've got this! Follow the steps, and you're well on your way to securing your NFT operations! 🛡️

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.10202 · 95.7th percentile
Weakness
CWE-416 · Use After Free
Published
2024-01-08T23:15Z
KEV added
2024-06-26 · due 2024-07-17
Affected products (14)
ProductVersionsFixed in
siemens/simatic_s7-1500_tm_mfp_firmware< 1.11.1
siemens/sinec_os< 2.42.4
linux/linux_kernel≥ 3.16, < 4.14.3164.14.316
linux/linux_kernel≥ 4.15, < 4.19.2564.19.256
linux/linux_kernel≥ 4.20, < 5.4.2115.4.211
linux/linux_kernel≥ 5.5, < 5.10.1375.10.137
linux/linux_kernel≥ 5.11, < 5.15.615.15.61
linux/linux_kernel≥ 5.16, < 5.18.185.18.18
linux/linux_kernel≥ 5.19, < 5.19.25.19.2
canonical/ubuntu_linuxall versions—
canonical/ubuntu_linuxall versions—
canonical/ubuntu_linuxall versions—
canonical/ubuntu_linuxall versions—
canonical/ubuntu_linuxall versions—
References (30)
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 · [email protected]https://lore.kernel.org/netfilter-devel/[email protected]/T/#t · [email protected]https://ubuntu.com/security/notices/USN-5557-1 · [email protected]https://ubuntu.com/security/notices/USN-5560-1 · [email protected]https://ubuntu.com/security/notices/USN-5560-2 · [email protected]https://ubuntu.com/security/notices/USN-5562-1 · [email protected]https://ubuntu.com/security/notices/USN-5564-1 · [email protected]https://ubuntu.com/security/notices/USN-5565-1 · [email protected]https://ubuntu.com/security/notices/USN-5566-1 · [email protected]https://ubuntu.com/security/notices/USN-5567-1 · [email protected]https://ubuntu.com/security/notices/USN-5582-1 · [email protected]https://www.openwall.com/lists/oss-security/2022/08/09/5 · [email protected]https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ · [email protected]https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2586 · af854a3a-2127-422b-91ae-364da2661108https://lore.kernel.org/netfilter-devel/[email protected]/T/#t · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5557-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5560-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5560-2 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5562-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5564-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5565-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5566-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5567-1 · af854a3a-2127-422b-91ae-364da2661108https://ubuntu.com/security/notices/USN-5582-1 · af854a3a-2127-422b-91ae-364da2661108https://www.openwall.com/lists/oss-security/2022/08/09/5 · af854a3a-2127-422b-91ae-364da2661108https://www.vicarius.io/vsociety/posts/use-after-free-vulnerability-linked-chain-between-nft-tables-cve-2022-2586 · af854a3a-2127-422b-91ae-364da2661108https://www.zerodayinitiative.com/advisories/ZDI-22-1118/ · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-794697.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-806742.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-2586 · 134c704f-9b21-4f2e-91b3-4a467353bcc0
EPSS history
Timeline
  • 26 JUN 00:00Z
    Added to CISA KEV — remediate by Jul 17
    kev
  • 08 JAN 17:46Z
    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
    cvelistv5