{"cve":{"cve_id":"CVE-2021-3489","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.0055,"epss_percentile":0.41622,"epss_as_of":"2026-06-23","description":"The eBPF RINGBUF bpf_ringbuf_reserve() function in the Linux kernel did not check that the allocated size was smaller than the ringbuf size, allowing an attacker to perform out-of-bounds writes within the kernel and therefore, arbitrary code execution. This issue was fixed via commit 4b81ccebaeee (\"bpf, ringbuf: Deny reserve of buffers larger than ringbuf\") (v5.13-rc4) and backported to the stable kernels in v5.12.4, v5.11.21, and v5.10.37. It was introduced via 457f44363a88 (\"bpf: Implement BPF ring buffer and verifier support for it\") (v5.8-rc1).","published_at":"2021-06-04T01:40:19.351000Z","last_modified_at":null,"cvss_v3_score":7.8,"cvss_v3_vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":null,"ssvc_automatable":null,"ssvc_technical_impact":null,"cwes":["CWE-119","CWE-787"],"nvd_references":["https://www.openwall.com/lists/oss-security/2021/05/11/10","https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea","https://www.zerodayinitiative.com/advisories/ZDI-21-590/","https://ubuntu.com/security/notices/USN-4950-1","https://ubuntu.com/security/notices/USN-4949-1","https://security.netapp.com/advisory/ntap-20210716-0004/"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-28T23:15:48.992464Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"L","value_label":"Local"},{"metric":"AC","name":"Attack Complexity","value":"H","value_label":"High"},{"metric":"PR","name":"Privileges Required","value":"L","value_label":"Low"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"C","value_label":"Changed"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"linux","vendor_name":"Linux","product_slug":"linux-kernel","product_name":"Linux kernel","version_start":"trunk","version_start_inclusive":true,"version_end":"v5.13-rc4","version_end_inclusive":false,"cpe23_uri":"cve5:linux:linux-kernel:trunk:v5.13-rc4"},{"vendor_slug":"linux","vendor_name":"Linux","product_slug":"linux-kernel","product_name":"Linux kernel","version_start":"linux-5.12.y","version_start_inclusive":true,"version_end":"v5.12.4","version_end_inclusive":false,"cpe23_uri":"cve5:linux:linux-kernel:linux-5.12.y:v5.12.4"},{"vendor_slug":"linux","vendor_name":"Linux","product_slug":"linux-kernel","product_name":"Linux kernel","version_start":"linux-5.11.y","version_start_inclusive":true,"version_end":"v5.11.21","version_end_inclusive":false,"cpe23_uri":"cve5:linux:linux-kernel:linux-5.11.y:v5.11.21"},{"vendor_slug":"linux","vendor_name":"Linux","product_slug":"linux-kernel","product_name":"Linux kernel","version_start":"linux-5.10.y","version_start_inclusive":true,"version_end":"v5.10.37","version_end_inclusive":false,"cpe23_uri":"cve5:linux:linux-kernel:linux-5.10.y:v5.10.37"},{"vendor_slug":"linux","vendor_name":"Linux","product_slug":"linux-kernel","product_name":"Linux kernel","version_start":"v5.8","version_start_inclusive":true,"version_end":"5.8*","version_end_inclusive":false,"cpe23_uri":"cve5:linux:linux-kernel:v5.8:5.8*"}],"exploit_refs":[],"news":[],"references":[{"url":"https://www.openwall.com/lists/oss-security/2021/05/11/10","source_type":"MAILING_LIST","tags":["mailing-list"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/commit/?id=4b81ccebaeee885ab1aa1438133f2991e3a2b6ea","source_type":"MISC","tags":["patch"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-590/","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4950-1","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4949-1","source_type":"VENDOR_ADVISORY","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210716-0004/","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2021-06-04T01:40:19.351000Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-06-28T17:19:21.235572Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:19:21.235572Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:19:21.235572Z","label":"CVSS score revised","source":"cvelistv5"}]}