Security group has overlapping CIDR rules

Severity
Low
Service
Security groups
Check ID
SG_CIDR_OVERLAPS

What this check finds

Two rules in this security group cover overlapping address ranges. This often happens when one attempts to restrict access, then opens up the access further, leaving the narrower rule with no effect.

Passing looks like: No overlapping security group CIDRs.

How to fix it

Review inbound rules for overlapping CIDRs and consolidate them. Remove the more permissive rule if it supersedes the restrictive one.

AWS console

EC2 → Security Groups → select group → Inbound rules → Edit inbound rules.

Compliance controls it is evidence for

A failing result counts against these controls in KloudLytics; a passing one is evidence towards them. How compliance mapping works

Compliance controls mapped to Security group has overlapping CIDR rules
FrameworkControls
NIST SP 800-53 Rev5 (Moderate)
  • SC-7 Boundary Protection
NIST Cybersecurity Framework 2.0
  • PR.IR-01 Networks and environments are protected from unauthorized logical access and usage
ISO/IEC 27001:2022 Annex A
  • A.8.20 Networks security

Checked on every scan

KloudLytics runs this check each time it scans a connected AWS account, through a read-only role, and lists every affected resource with its region. On Pro and Business a fix is written for the specific resource rather than the general case above. The exact access it needs

More Security groups checks

All Security groups checks

Find out what is actually exposed in your AWS environment.

Connect one AWS account and run your first security assessment.

No credit card · Agentless · Read-only