AWS Security Hub · RDS
RDS.13: RDS is not receiving automatic minor security patches
Written and reviewed by Emnode · Last reviewed
What does AWS Security Hub RDS.13 check?
RDS.13 checks whether AutoMinorVersionUpgrade is enabled on each RDS DB instance. It reports FAILED when the flag is off, meaning the instance will sit on its current minor version indefinitely rather than picking up patches in its maintenance window.
Why does RDS.13 matter?
Every RDS engine ships a stream of backwards-compatible minor versions carrying bug fixes and security patches. "Managed database" lulls teams into thinking patching is AWS's job — it isn't, unless you opt in. With the flag off, AWS only forces an upgrade in genuine emergencies, so a database accumulates published, exploitable CVEs until a human remembers to act, and manual upgrades slip every time. It maps to CIS AWS Foundations 2.2.2, NIST 800-53 SI-2, and PCI DSS 6.3.3.
How do I fix RDS.13?
- Set the flag with modify-db-instance --auto-minor-version-upgrade (it applies in the next maintenance window, no charge).
- Confirm the maintenance window falls in a low-traffic period.
- Enable it by default in IaC templates so new instances inherit it.
- Reserve pinned versions for the few systems that genuinely need them, documented as exceptions.
Remediation script · bash
# Enable auto minor version upgrade on every RDS instance that has it disabled.
for id in $(aws rds describe-db-instances \
--query 'DBInstances[?AutoMinorVersionUpgrade==`false`].DBInstanceIdentifier' --output text); do
aws rds modify-db-instance --db-instance-identifier "$id" \
--auto-minor-version-upgrade --no-apply-immediately
done
# Move a deprecated Lambda function to a supported runtime.
aws lambda update-function-configuration --function-name auth-token-issuer \
--runtime nodejs20.x
# Upgrade an out-of-support EKS control plane one minor version at a time (then catch up node groups).
aws eks update-cluster-version --name prod-payments --kubernetes-version 1.29 Full walkthrough (console steps, edge cases and verification) in the lesson Keep software and engines patched.
Is RDS.13 a false positive?
A minor version upgrade is backwards-compatible (e.g. 8.0.35 to 8.0.36) and will not change your schema or break queries — teams who leave it off fearing breakage are conflating it with major version upgrades, which RDS never applies automatically.
More RDS controls
- RDS.1 An RDS snapshot is shared publicly
- RDS.2 An RDS instance is publicly accessible from the internet
- RDS.3 RDS DB instances should be encrypted at rest
- RDS.4 RDS snapshots should be encrypted at rest
- RDS.5 RDS DB instances should use multiple AZs
- RDS.6 RDS lacks enhanced monitoring
- RDS.7 RDS clusters should have deletion protection
- RDS.8 RDS DB instances should have deletion protection
- RDS.9 RDS engine logs are not shipped to CloudWatch
- RDS.10 RDS relies on long-lived database passwords
- RDS.11 RDS instances should have automatic backups
- RDS.12 IAM auth should be configured for RDS clusters