CVE-2017-7892

Published: 17 April 2017

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.

From the Ubuntu security team

Kenton Varda discovered that the Cap'n Proto utility has a buffer overflow vulnerability. An attacker could use this vulnerability to cause a crash or possibly execute arbitrary code.

Priority

Low

CVSS 3 base score: 7.5

Status

Package Release Status
capnproto
Launchpad, Ubuntu, Debian
Upstream
Released (0.5.3.1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (0.6.1-1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (0.5.3-2ubuntu1.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist
(trusty was released [0.4.0-1ubuntu2.1])

Notes

AuthorNote
ratliff
Advisory: "Some bounds checks are elided by Apple's compiler and possibly others, leading to a possible attack especially in 32-bit builds."
Setting status to needs-triage to investigate whether it impacts Ubuntu

References