{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31890 exists.","fix":"No fix has been published for CVE-2026-31890 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-31890 is a medium-severity denial of service vulnerability in inspektor-gadget, published on 12 Mar 2026. 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-2026-31890 and fix it if it is affected.\n\nWhat it is: CVE-2026-31890 is a medium-severity denial of service vulnerability in inspektor-gadget, published on 12 Mar 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31890 exists.\n\nAffected product: inspektor-gadget. 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-2026-31890/ (Markdown: https://insights.sbomify.com/CVE-2026-31890/index.md)","id":"CVE-2026-31890","markdown":"https://insights.sbomify.com/CVE-2026-31890/index.md","name":"CVE-2026-31890","record":{"aliases":["GHSA-wv52-frfv-mfh4"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Kubernetes eBPF tool","requires_auth":"low_privilege","summary":"A malicious container can flood the ring-buffer to cause a Denial of Service by forcing the system to drop events from other containers.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"inspektor_gadget","vendor":"linuxfoundation"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-223","name":"Omission of Security-relevant Information"}],"description":"Inspektor Gadget is a set of tools and framework for data collection and system inspection on Kubernetes clusters and Linux hosts using eBPF. Prior to 0.50.1, in a situation where the ring-buffer of a gadget is – incidentally or maliciously – already full, the gadget will silently drop events. The include/gadget/buffer.h file contains definitions for the Buffer API that gadgets can use to, among the other things, transfer data from eBPF programs to userspace. For hosts running a modern enough Linux kernel (\u003e= 5.8), this transfer mechanism is based on ring-buffers. The size of the ring-buffer for the gadgets is hard-coded to 256KB. When a gadget_reserve_buf fails because of insufficient space, the gadget silently cleans up without producing an alert. The lost count reported by the eBPF operator, when using ring-buffers – the modern choice – is hardcoded to zero. The vulnerability can be used by a malicious event source (e.g. a compromised container) to cause a Denial Of Service, forcing the system to drop events coming from other containers (or the same container). This vulnerability is fixed in 0.50.1.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Inspektor Gadget: Tracing Denial of Service via Event Flooding","id":"CVE-2026-31890","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Cockpit CMS has SQL Injection in MongoLite Aggregation Optimizer via toJsonExtractRaw()","id":"CVE-2026-31891"},"packages":[],"prev":{"headline":"Shopware has a potential take over of app credentials","id":"CVE-2026-31889"},"products":["inspektor-gadget"],"published":"2026-03-12","related":[{"cvss_score":6.9,"headline":"Inspektor Gadget uses unsanitized ANSI Escape Sequences In `columns` Output Mode","id":"CVE-2026-25996","kev_date_added":null,"published":"2026-02-12"},{"cvss_score":6.6,"headline":"Inspektor Gadget has a Command Injection vulnerability in Makefile.build","id":"CVE-2026-24905","kev_date_added":null,"published":"2026-01-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-13","vendors":["inspektor-gadget"]},"summary":"A malicious container can flood the ring-buffer to cause a Denial of Service by forcing the system to drop events from other containers.","url":"https://insights.sbomify.com/CVE-2026-31890/"}