MongoDB must limit the total number of concurrent connections to the database.
An XCCDF Rule
Description
<VulnDiscussion>MongoDB must limit the total number of concurrent connections to the database.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-252148r879511_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
MongoDB can limit the total number of connections served by mongod process by setting the following in the MongoDB configuration file (default location: /etc/mongod.conf)
net:
maxIncomingConnections: %int%
See the following documentation: