CVE-2017-7892: Input Validation

Published Apr 17, 2017
·
Updated

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.

Affected Software

1 affected component
capnproto capnproto<=0.5.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Sandstorm Cap'n Proto to a version that resolves this vulnerability.

    Fixed in 0.5.3.1
  2. Compensating control

    For affected 32-bit environments, mitigate remote crash risk by avoiding compiler configurations/optimizations like Apple LLVM version 8.1.0 (clang-802.0.41) that can elide a bounds check during pointer arithmetic overflow handling.

Event History

Apr 17, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
via NVD·09:59 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-7892?

CVE-2017-7892 is considered a high severity vulnerability due to the potential for remote crashes.

2

How do I fix CVE-2017-7892?

To fix CVE-2017-7892, upgrade Cap'n Proto to version 0.5.3.1 or later.

3

What types of applications are affected by CVE-2017-7892?

CVE-2017-7892 affects 32-bit libcapnp applications that use Cap'n Proto versions up to and including 0.5.3.

4

Can CVE-2017-7892 be exploited remotely?

Yes, CVE-2017-7892 can be exploited remotely by an attacker to trigger a segmentation fault.

5

What causes the vulnerability in CVE-2017-7892?

CVE-2017-7892 is caused by pointer arithmetic calculations that overflow due to compiler optimizations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203