{"id":"CVE-2022-43681","aliases":["ALSA-2023:6434","CLSA-2026-1778238289","DEBIAN-CVE-2022-43681","DLA-3573-1","EUVD-2022-46674","GHSA-x7mf-v6gh-vm4g","RHSA-2023:6434","UBUNTU-CVE-2022-43681"],"status":"published","title":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a...","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02125,"percentile":0.82179,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2023-05-03T00:00:00Z","modified":"2026-11-03T08:03:55Z","fixes":[{"ecosystem":"Debian:12","package":"frr","fixed_in":["8.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"frr","fixed_in":["8.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"frr","fixed_in":["8.4.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:9","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-11.el9_3.alma.1"}]}],"bundled":4},{"source":"osv","ecosystem":"AlmaLinux:9","package":"frr-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-11.el9_3.alma.1"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-5.el9_2.2.alma.tuxcare.els4"}]}],"bundled":4},{"source":"osv","ecosystem":"TuxCare:AlmaLinux:9.2","package":"frr-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.3.1-5.el9_2.2.alma.tuxcare.els4"}]}],"bundled":4},{"source":"osv","ecosystem":"Debian:12","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.5.1-1.1+deb10u1"}]}],"versions":["6.0.2-2","6.0.2-2+deb10u1","6.0.2-2+deb10u2","7.2-1","7.2.1-1","7.3.1-1","7.4-1","7.4-1.1","7.4-2","7.5-1","7.5.1-1","7.5.1-1.1"],"bundled":10},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"frr-selinux","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:8.3.1-11.el9_3"}]}],"bundled":4}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"frrouting","product":"frrouting"}],"references":[{"url":"https://forescout.com","tags":["x_transferred","Third Party Advisory","web","report"]},{"url":"https://www.debian.org/security/2023/dsa-5495","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00020.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43681","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x7mf-v6gh-vm4g"},{"url":"https://access.redhat.com/errata/RHSA-2023:6434","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-36440","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-40302","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-40318","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-43681","tags":["report"]},{"url":"https://bugzilla.redhat.com/2184468","tags":["report"]},{"url":"https://bugzilla.redhat.com/2196088","tags":["report"]},{"url":"https://bugzilla.redhat.com/2196090","tags":["report"]},{"url":"https://bugzilla.redhat.com/2196091","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2023-6434.html","tags":["advisory"]},{"url":"https://errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1778238289.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43681.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-43681","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2168855","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2184468","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196088","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196090","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2196091","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2216912","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6434.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-36440","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36440","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40302","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40302","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40318","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40318","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-43681","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2022-43681","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-43681","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"published","published":"2023-05-03T00:00:00Z","modified":"2024-08-03T13:40:06.339Z","updated_at":"2026-11-02T14:34:25.618175Z"}],"euvd":[{"id":"EUVD-2022-46674","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"published","published":"2023-05-03T00:00:00Z","modified":"2024-08-03T13:40:06Z","updated_at":"2026-11-03T03:25:19.130756Z"}],"ghsa":[{"id":"GHSA-x7mf-v6gh-vm4g","title":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a...","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"published","published":"2023-05-03T12:30:41Z","modified":"2024-02-25T05:08:27Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:55:38.39087Z"}],"nvd":[{"id":"CVE-2022-43681","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"published","published":"2023-05-03T12:16:30.07Z","modified":"2026-06-17T05:07:06.743Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:07:37.42466Z"}],"osv":[{"id":"DEBIAN-CVE-2022-43681","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"published","published":"2023-05-03T12:16:30.07Z","modified":"2026-11-03T08:03:55.652520673Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T08:23:34.488036Z"},{"id":"RHSA-2023:6434","title":"Red Hat Security Advisory: frr security and bug fix update","status":"published","published":"2024-09-16T12:10:17Z","modified":"2025-11-22T12:59:05Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:11.734882Z"},{"id":"UBUNTU-CVE-2022-43681","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"withdrawn","published":"2023-05-03T12:16:00Z","modified":"2025-07-16T08:16:33.804356Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:53:56.473586Z"},{"id":"ALSA-2023:6434","title":"Moderate: frr security and bug fix update","description":"FRRouting is free software that manages TCP/IP based routing protocols. It supports BGP4, OSPFv2, OSPFv3, ISIS, RIP, RIPng, PIM, NHRP, PBR, EIGRP and BFD. \n\nSecurity Fix(es):\n\n* frr: Reachable assertion in peek_for_as4_capability function (CVE-2022-36440)\n* frr: denial of service by crafting a BGP OPEN message with an option of type 0xff (CVE-2022-40302)\n* frr: denial of service by crafting a BGP OPEN message with an option of type in bgp_open_option_parse in the bgp_open.c 0xff (CVE-2022-40318)\n* frr: out-of-bounds read exists in the BGP daemon of FRRouting (CVE-2022-43681)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2023-11-07T00:00:00Z","modified":"2026-10-29T11:31:33.994975074Z","updated_at":"2026-11-02T15:27:52.091404Z"},{"id":"CLSA-2026-1778238289","title":"frr: Fix of 4 CVEs","description":"- CVE-2022-43681: fix bgpd crash on malformed BGP OPEN messages with insufficient data\n- CVE-2022-40318: fix out-of-bounds read in bgp_open_option_parse with extended option params\n- CVE-2023-31489: fix out-of-bounds read in BGP Long-lived Graceful-Restart capability parsing\n- CVE-2023-46752: fix bgpd crash on malformed MP_REACH_NLRI packets","status":"published","published":"2026-05-08T11:17:29Z","modified":"2026-10-21T10:45:56.316115564Z","updated_at":"2026-11-02T15:43:44.737408Z"},{"id":"CVE-2022-43681","description":"An out-of-bounds read exists in the BGP daemon of FRRouting FRR through 8.4. When sending a malformed BGP OPEN message that ends with the option length octet (or the option length word, in case of an extended OPEN message), the FRR code reads of out of the bounds of the packet, throwing a SIGABRT signal and exiting. This results in a bgpd daemon restart, causing a Denial-of-Service condition.","status":"published","published":"2023-05-03T00:00:00Z","modified":"2026-10-28T02:30:34.796111386Z","updated_at":"2026-11-02T15:44:27.186787Z"},{"id":"DLA-3573-1","title":"frr - security update","status":"published","published":"2023-09-19T00:00:00Z","modified":"2026-03-09T01:20:43.491536Z","updated_at":"2026-11-02T15:46:11.734021Z"}]}}
