CVE-2017-7892
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | capnproto | Fixed | 0.6.1-1 | UBUNTU-CVE-2017-7892 |
| Ubuntu 16.04 | capnproto | Fixed | 0.5.3-2ubuntu1.1 | UBUNTU-CVE-2017-7892 |
| Ubuntu 14.04 | capnproto | Fixed | 0.4.0-1ubuntu2.1 | UBUNTU-CVE-2017-7892 |
| Debian 14 | capnproto | Fixed | 0.6.1-1 | DEBIAN-CVE-2017-7892 |
| Debian 13 | capnproto | Fixed | 0.6.1-1 | DEBIAN-CVE-2017-7892 |
| Debian 12 | capnproto | Fixed | 0.6.1-1 | DEBIAN-CVE-2017-7892 |
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.