CVE Vulnerabilities

CVE-2016-3104

Uncontrolled Resource Consumption

Published: Apr 14, 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
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
5 MODERATE
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V3
Ubuntu
LOW

mongod in MongoDB 2.6, when using 2.4-style users, and 2.4 allow remote attackers to cause a denial of service (memory consumption and process termination) by leveraging in-memory database representation when authenticating against a non-existent database.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Mongodb Mongodb 2.4.0 (including) 2.4.0 (including)
Mongodb Mongodb 2.6.0 (including) 2.6.0 (including)
Mongodb Ubuntu artful *
Mongodb Ubuntu esm-apps/xenial *
Mongodb Ubuntu esm-infra-legacy/trusty *
Mongodb Ubuntu precise *
Mongodb Ubuntu trusty *
Mongodb Ubuntu trusty/esm *
Mongodb Ubuntu xenial *
Mongodb Ubuntu yakkety *
Mongodb Ubuntu zesty *

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