{"id":"UBUNTU-CVE-2017-7892","details":"Sandstorm Cap'n Proto before 0.5.3.1 allows remote crashes related to a compiler optimization. A remote attacker can trigger a segfault in a 32-bit libcapnp application because Cap'n Proto relies on pointer arithmetic calculations that overflow. An example compiler with optimization that elides a bounds check in such calculations is Apple LLVM version 8.1.0 (clang-802.0.41). The attack vector is a crafted far pointer within a message.","modified":"2026-04-22T11:33:47.693323Z","published":"2017-04-17T21:59:00Z","upstream":["CVE-2017-7892"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-7892"},{"type":"REPORT","url":"https://github.com/sandstorm-io/capnproto/blob/master/security-advisories/2017-04-17-0-apple-clang-elides-bounds-check.md"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-7892"}],"affected":[{"package":{"name":"capnproto","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/capnproto@0.4.0-1ubuntu2.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0-1ubuntu2.1"}]}],"versions":["0.2.1-1","0.4.0~git20131030+e7d2778-0ubuntu1","0.4.0-1ubuntu1","0.4.0-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"capnproto","binary_version":"0.4.0-1ubuntu2.1"},{"binary_name":"libcapnp-0.4.0","binary_version":"0.4.0-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-7892.json"}},{"package":{"name":"capnproto","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/capnproto@0.5.3-2ubuntu1.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.3-2ubuntu1.1"}]}],"versions":["0.4.0-1ubuntu3","0.5.3-2ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"capnproto","binary_version":"0.5.3-2ubuntu1.1"},{"binary_name":"libcapnp-0.5.3","binary_version":"0.5.3-2ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-7892.json"}},{"package":{"name":"capnproto","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/capnproto@0.6.1-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.6.1-1"}]}],"versions":["0.5.3-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"capnproto","binary_version":"0.6.1-1"},{"binary_name":"libcapnp-0.6.1","binary_version":"0.6.1-1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-7892.json"}}],"schema_version":"1.7.5","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":"low"}]}