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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
MongodbMongodb2.4.0 (including)2.4.0 (including)
MongodbMongodb2.6.0 (including)2.6.0 (including)
MongodbUbuntuartful*
MongodbUbuntuesm-apps/xenial*
MongodbUbuntuesm-infra-legacy/trusty*
MongodbUbuntuprecise*
MongodbUbuntutrusty*
MongodbUbuntutrusty/esm*
MongodbUbuntuxenial*
MongodbUbuntuyakkety*
MongodbUbuntuzesty*

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