Improper Input Validation Affecting capnproto package, versions <0.6.1-1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.19% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1804-CAPNPROTO-279997
  • published17 Apr 2017
  • disclosed17 Apr 2017

Introduced: 17 Apr 2017

CVE-2017-7892  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 capnproto to version 0.6.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream capnproto package and not the capnproto package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.