{"answers":{"affected":"It affects 2 products.","exploited":"Yes. Attackers have exploited CVE-2024-36971 in the wild since at least 7 Aug 2024.","fix":"Apply the vendor's patch. US federal agencies must fix it by 28 Aug 2024.","what":"CVE-2024-36971 is a high-severity use after free vulnerability in Debian Debian Linux, published on 10 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-36971 and fix it if it is affected.\n\nWhat it is: CVE-2024-36971 is a high-severity use after free vulnerability in Debian Debian Linux, published on 10 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2024-36971 in the wild since at least 7 Aug 2024.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-36971/ (Markdown: https://insights.sbomify.com/CVE-2024-36971/index.md)","id":"CVE-2024-36971","markdown":"https://insights.sbomify.com/CVE-2024-36971/index.md","name":"CVE-2024-36971","record":{"aliases":["A-343727534","ASB-A-343727534","AZL-42615","AZL-42622","BELL-CVE-2024-36971","DEBIAN-CVE-2024-36971","GHSA-3rf3-8wmx-cm8q","RHSA-2024:5388","RHSA-2024:5519","RHSA-2024:5521","RHSA-2024:5523","SUSE-SU-2025:0242-1","SUSE-SU-2025:0250-1","UBUNTU-CVE-2024-36971"],"analysis":{"component_type":"kernel","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Linux kernel","requires_auth":"low_privilege","summary":"A race condition in the Linux kernel network stack allows attackers to trigger a use-after-free, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Linux","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"linux_kernel","vendor":"linux"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix __dst_negative_advice() race\n\n__dst_negative_advice() does not enforce proper RCU rules when\nsk-\u003edst_cache must be cleared, leading to possible UAF.\n\nRCU rules are that we must first clear sk-\u003esk_dst_cache,\nthen call dst_release(old_dst).\n\nNote that sk_dst_reset(sk) is implementing this protocol correctly,\nwhile __dst_negative_advice() uses the wrong order.\n\nGiven that ip6_negative_advice() has special logic\nagainst RTF_CACHE, this means each of the three -\u003enegative_advice()\nexisting methods must perform the sk_dst_reset() themselves.\n\nNote the check against NULL dst is centralized in\n__dst_negative_advice(), there is no need to duplicate\nit in various callbacks.\n\nMany thanks to Clement Lecigne for tracking this issue.\n\nThis old bug became visible after the blamed commit, using UDP sockets.","ecosystems":["Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:8.2::baseos","Red Hat:rhel_e4s:8.4::baseos","Red Hat:rhel_eus:9.2::baseos","SUSE:Linux Enterprise Live Patching 15 SP3","SUSE:Linux Enterprise Live Patching 15 SP4"],"exploits":{"exploitdb":0,"first_seen":"2025-10-14","github_poc":1,"max_poc_stars":2,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-10-14T12:19:13Z","kind":"github_poc","ref":"https://github.com/M4G1XX/CVE-2024-36971","stars":2,"title":"Poc for CVE-2024-36971"}],"tier":"exploited"},"has_fix":true,"headline":"Android Kernel Remote Code Execution","id":"CVE-2024-36971","indexable":true,"kev":{"dateAdded":"2024-08-07","dueDate":"2024-08-28","knownRansomwareCampaignUse":"Unknown","product":"Kernel","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","vendorProject":"Android","vulnerabilityName":"Android Kernel Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","linux:linux_kernel"],"type":"use_after_free","year":"2024"},"n_packages":39,"n_references":8,"next":{"headline":"af_unix: Update unix_sk(sk)-\u003eoob_skb under sk_receive_queue lock.","id":"CVE-2024-36972"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-427_13_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-427_13_1","source":"RHSA-2024:5523"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-427_13_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-427_13_1-debuginfo","source":"RHSA-2024:5523"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:1-2.el9_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-427_13_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-427_13_1-debugsource","source":"RHSA-2024:5523"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"bpftool","purl":"pkg:rpm/redhat/bpftool","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"bpftool-debuginfo","purl":"pkg:rpm/redhat/bpftool-debuginfo","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel","purl":"pkg:rpm/redhat/kernel","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-abi-whitelists","purl":"pkg:rpm/redhat/kernel-abi-whitelists","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-core","purl":"pkg:rpm/redhat/kernel-core","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debug","purl":"pkg:rpm/redhat/kernel-debug","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-core","purl":"pkg:rpm/redhat/kernel-debug-core","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-debuginfo","purl":"pkg:rpm/redhat/kernel-debug-debuginfo","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-devel","purl":"pkg:rpm/redhat/kernel-debug-devel","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules","purl":"pkg:rpm/redhat/kernel-debug-modules","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debug-modules-extra","purl":"pkg:rpm/redhat/kernel-debug-modules-extra","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo","purl":"pkg:rpm/redhat/kernel-debuginfo","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-debuginfo-common-x86_64","purl":"pkg:rpm/redhat/kernel-debuginfo-common-x86_64","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-devel","purl":"pkg:rpm/redhat/kernel-devel","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-doc","purl":"pkg:rpm/redhat/kernel-doc","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-modules","purl":"pkg:rpm/redhat/kernel-modules","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-modules-extra","purl":"pkg:rpm/redhat/kernel-modules-extra","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-tools","purl":"pkg:rpm/redhat/kernel-tools","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-debuginfo","purl":"pkg:rpm/redhat/kernel-tools-debuginfo","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"kernel-tools-libs","purl":"pkg:rpm/redhat/kernel-tools-libs","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"perf","purl":"pkg:rpm/redhat/perf","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"perf-debuginfo","purl":"pkg:rpm/redhat/perf-debuginfo","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"python3-perf","purl":"pkg:rpm/redhat/python3-perf","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_aus:8.2::baseos","fixed":["0:4.18.0-193.138.1.el8_2"],"introduced":["0"],"last_affected":[],"package":"python3-perf-debuginfo","purl":"pkg:rpm/redhat/python3-perf-debuginfo","source":"RHSA-2024:5388"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-4.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_120_1","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_120_1","source":"RHSA-2024:5519"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-4.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_120_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_120_1-debuginfo","source":"RHSA-2024:5519"},{"ecosystem":"Red Hat:rhel_e4s:8.4::baseos","fixed":["0:1-4.el8_4"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-4_18_0-305_120_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-4_18_0-305_120_1-debugsource","source":"RHSA-2024:5519"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:1-5.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_48_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_48_1","source":"RHSA-2024:5521"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:1-5.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_48_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_48_1-debuginfo","source":"RHSA-2024:5521"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:1-5.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_48_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_48_1-debugsource","source":"RHSA-2024:5521"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:1-4.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_52_1","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_52_1","source":"RHSA-2024:5521"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:1-4.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_52_1-debuginfo","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_52_1-debuginfo","source":"RHSA-2024:5521"},{"ecosystem":"Red Hat:rhel_eus:9.2::baseos","fixed":["0:1-4.el9_2"],"introduced":["0"],"last_affected":[],"package":"kpatch-patch-5_14_0-284_52_1-debugsource","purl":"pkg:rpm/redhat/kpatch-patch-5_14_0-284_52_1-debugsource","source":"RHSA-2024:5521"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP3","fixed":["16-150300.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP3_Update_40","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP3_Update_40\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP3","source":"SUSE-SU-2025:0250-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP3","fixed":["15-150300.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP3_Update_41","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP3_Update_41\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP3","source":"SUSE-SU-2025:0242-1"},{"ecosystem":"SUSE:Linux Enterprise Live Patching 15 SP4","fixed":["14-150400.2.1"],"introduced":["0"],"last_affected":[],"package":"kernel-livepatch-SLE15-SP4_Update_22","purl":"pkg:rpm/suse/kernel-livepatch-SLE15-SP4_Update_22\u0026distro=SUSE%20Linux%20Enterprise%20Live%20Patching%2015%20SP4","source":"SUSE-SU-2025:0250-1"}],"prev":{"headline":"wifi: iwlwifi: Use request_module_nowait","id":"CVE-2024-36970"},"products":["Linux"],"published":"2024-06-10","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Linux"]},"summary":"A race condition in the Linux kernel network stack allows attackers to trigger a use-after-free, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2024-36971/"}