AWS Security Hub · Redshift
Redshift.15: Redshift accepts cluster-port traffic from anywhere
Written and reviewed by Emnode · Last reviewed
What does AWS Security Hub Redshift.15 check?
Redshift.15 checks the security groups attached to a cluster and fails when ingress to the cluster port is open to 0.0.0.0/0. It is looking specifically for an allow-the-world rule on the database port rather than the cluster's PubliclyAccessible flag.
Why does Redshift.15 matter?
An open cluster port leaves only the database credential between every port scanner and bot on the internet and your warehouse: no network boundary, no allow-list. These rules almost always creep in as a temporary "just get it working" change that never gets reverted. Redshift.15 maps directly to PCI DSS v4.0.1 requirement 1.3.1.
How do I fix Redshift.15?
- Identify the security group rule opening the cluster port (default 5439) to 0.0.0.0/0 and remove it.
- Replace it with rules scoped to specific application security groups or known internal CIDRs.
- Front any external access with a VPN, Direct Connect, or bastion rather than a public ingress rule.
- Add a guardrail (Config rule or SCP) to block 0.0.0.0/0 on data-store ports going forward.
Remediation script · bash
# Revoke an over-open admin rule, covering both IPv4 and IPv6 in one call.
aws ec2 revoke-security-group-ingress --group-id sg-0a1b2c3d \
--ip-permissions 'IpProtocol=tcp,FromPort=22,ToPort=22,IpRanges=[{CidrIp=0.0.0.0/0}],Ipv6Ranges=[{CidrIpv6=::/0}]'
# Where access is genuinely needed, re-add it scoped to a source security group, not a CIDR.
aws ec2 authorize-security-group-ingress --group-id sg-0a1b2c3d \
--ip-permissions 'IpProtocol=tcp,FromPort=6379,ToPort=6379,UserIdGroupPairs=[{GroupId=sg-0app1234,Description=app-tier}]'
# Strip a default security group to empty by feeding its current rules back into revoke.
INGRESS=$(aws ec2 describe-security-groups --group-ids sg-0default01 \
--query 'SecurityGroups[0].IpPermissions')
[ "$INGRESS" != "[]" ] && aws ec2 revoke-security-group-ingress \
--group-id sg-0default01 --ip-permissions "$INGRESS"Full walkthrough (console steps, edge cases and verification) in the lesson Harden security groups and restrict ingress.
Is Redshift.15 a false positive?
There is essentially no benign reason to open the Redshift cluster port to 0.0.0.0/0 (or ::/0), so a FAILED finding here should almost always be treated as a real exposure to remediate rather than suppressed. The narrow legitimate case is a security group whose open-to-the-world rule is on a different port than the cluster's database port: the control fails only on a /0 rule that overlaps the cluster port, so an unrelated open port on the same group is out of scope and won't trip it. If a finding ever looks intentional, the disciplined path is still to scope ingress to known application security groups or CIDRs and front any external access with a VPN, Direct Connect, or bastion; record a time-boxed, owner-attributed exception only for a genuinely transient situation, never a standing suppression.
More Redshift controls
- Redshift.1A Redshift cluster is publicly accessible
- Redshift.2Connections to Redshift should be encrypted in transit
- Redshift.3Redshift clusters should have automatic snapshots
- Redshift.4Redshift clusters should have audit logging
- Redshift.6Redshift should auto-upgrade major versions
- Redshift.7Redshift clusters should use enhanced VPC routing
- Redshift.8Redshift should not use the default admin username
- Redshift.10Redshift clusters should be encrypted at rest
- Redshift.16Redshift subnet groups should span multiple AZs
- Redshift.18Redshift clusters should have Multi-AZ enabled