{"id":"UBUNTU-CVE-2024-44070","details":"An issue was discovered in FRRouting (FRR) through 10.1. bgp_attr_encap in bgpd/bgp_attr.c does not check the actual remaining stream length before taking the TLV value.","modified":"2026-02-04T04:16:55.773217Z","published":"2024-08-19T02:15:00Z","related":["USN-7016-1","USN-7017-1","USN-7230-1","USN-7230-2"],"upstream":["CVE-2024-44070"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-44070"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-44070"},{"type":"REPORT","url":"https://github.com/FRRouting/frr/pull/16497"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7016-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7017-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7230-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7230-2"}],"affected":[{"package":{"name":"quagga","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/quagga@1.2.4-1ubuntu0.1~esm2?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-1ubuntu0.1~esm2"}]}],"versions":["1.1.1-3","1.1.1-3ubuntu1","1.2.2-1","1.2.2-1ubuntu1","1.2.4-1","1.2.4-1ubuntu0.1~esm1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-bgpd"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-core"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-isisd"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-ospf6d"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-ospfd"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-pimd"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-ripd"},{"binary_version":"1.2.4-1ubuntu0.1~esm2","binary_name":"quagga-ripngd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-44070.json"}},{"package":{"name":"quagga","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/quagga@1.2.4-4ubuntu0.5?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.4-4ubuntu0.5"}]}],"versions":["1.2.4-4build1","1.2.4-4ubuntu0.1","1.2.4-4ubuntu0.4"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-bgpd"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-core"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-isisd"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-ospf6d"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-ospfd"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-pimd"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-ripd"},{"binary_version":"1.2.4-4ubuntu0.5","binary_name":"quagga-ripngd"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-44070.json"}},{"package":{"name":"frr","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/frr@7.2.1-1ubuntu0.2+esm3?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.1-1ubuntu0.2+esm3"}]}],"versions":["6.0.2-2build2","7.2-1ubuntu1","7.2-1ubuntu2","7.2.1-1","7.2.1-1ubuntu0.1","7.2.1-1ubuntu0.2","7.2.1-1ubuntu0.2+esm1","7.2.1-1ubuntu0.2+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"7.2.1-1ubuntu0.2+esm3","binary_name":"frr"},{"binary_version":"7.2.1-1ubuntu0.2+esm3","binary_name":"frr-pythontools"},{"binary_version":"7.2.1-1ubuntu0.2+esm3","binary_name":"frr-rpki-rtrlib"},{"binary_version":"7.2.1-1ubuntu0.2+esm3","binary_name":"frr-snmp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-44070.json"}},{"package":{"name":"frr","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/frr@8.1-1ubuntu1.11?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1-1ubuntu1.11"}]}],"versions":["7.5.1-1.1","8.1-1","8.1-1ubuntu1","8.1-1ubuntu1.1","8.1-1ubuntu1.2","8.1-1ubuntu1.3","8.1-1ubuntu1.4","8.1-1ubuntu1.5","8.1-1ubuntu1.6","8.1-1ubuntu1.7","8.1-1ubuntu1.8","8.1-1ubuntu1.9","8.1-1ubuntu1.10"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.1-1ubuntu1.11","binary_name":"frr"},{"binary_version":"8.1-1ubuntu1.11","binary_name":"frr-pythontools"},{"binary_version":"8.1-1ubuntu1.11","binary_name":"frr-rpki-rtrlib"},{"binary_version":"8.1-1ubuntu1.11","binary_name":"frr-snmp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-44070.json"}},{"package":{"name":"frr","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/frr@8.4.4-1.1ubuntu6.2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.4.4-1.1ubuntu6.2"}]}],"versions":["8.4.4-1.1ubuntu1","8.4.4-1.1ubuntu3","8.4.4-1.1ubuntu4","8.4.4-1.1ubuntu5","8.4.4-1.1ubuntu6","8.4.4-1.1ubuntu6.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"8.4.4-1.1ubuntu6.2","binary_name":"frr"},{"binary_version":"8.4.4-1.1ubuntu6.2","binary_name":"frr-pythontools"},{"binary_version":"8.4.4-1.1ubuntu6.2","binary_name":"frr-rpki-rtrlib"},{"binary_version":"8.4.4-1.1ubuntu6.2","binary_name":"frr-snmp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-44070.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}