CVE Vulnerabilities

CVE-2015-2313

Uncontrolled Resource Consumption

Published: Aug 09, 2017 | Modified: Apr 20, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
7.8 HIGH
AV:N/AC:L/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Sandstorm Capn Proto before 0.4.1.1 and 0.5.x before 0.5.1.2, when an application invokes the totalSize method on an object reader, allows remote peers to cause a denial of service (CPU consumption) via a crafted small message, which triggers a tight for loop. NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-2312.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
CapnprotoCapnproto*0.4.1.0 (including)
CapnprotoCapnproto0.5.0.0 (including)0.5.0.0 (including)
CapnprotoCapnproto0.5.1.0 (including)0.5.1.0 (including)
CapnprotoCapnproto0.5.1.1 (including)0.5.1.1 (including)
CapnprotoUbuntuesm-infra-legacy/trusty*
CapnprotoUbuntutrusty*
CapnprotoUbuntutrusty/esm*
CapnprotoUbuntuupstream*
CapnprotoUbuntuvivid/stable-phone-overlay*
CapnprotoUbuntuwily*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References