{"id":"UBUNTU-CVE-2017-16227","details":"The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote attackers to cause a denial of service (session drop) via BGP UPDATE messages, because AS_PATH size calculation for long paths counts certain bytes twice and consequently constructs an invalid message.","modified":"2026-01-30T01:22:01.285296Z","published":"2017-10-29T00:00:00Z","related":["USN-3471-1"],"upstream":["CVE-2017-16227"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-16227"},{"type":"REPORT","url":"https://lists.quagga.net/pipermail/quagga-dev/2017-September/033284.html"},{"type":"REPORT","url":"http://download.savannah.gnu.org/releases/quagga/quagga-1.2.2.changelog.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3471-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-16227"}],"affected":[{"package":{"name":"quagga","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/quagga@0.99.22.4-3ubuntu1.4?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.22.4-3ubuntu1.4"}]}],"versions":["0.99.22.1-2","0.99.22.4-1","0.99.22.4-2","0.99.22.4-3","0.99.22.4-3ubuntu1","0.99.22.4-3ubuntu1.1","0.99.22.4-3ubuntu1.2","0.99.22.4-3ubuntu1.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.99.22.4-3ubuntu1.4","binary_name":"quagga"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16227.json"}},{"package":{"name":"quagga","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/quagga@0.99.24.1-2ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.99.24.1-2ubuntu1.3"}]}],"versions":["0.99.24.1-2","0.99.24.1-2ubuntu1","0.99.24.1-2ubuntu1.1","0.99.24.1-2ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"0.99.24.1-2ubuntu1.3","binary_name":"quagga"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-16227.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}