InfraScan Cloud

Repository scan

terraform-overdose

suminhong/terraform-overdose · branch main · scanned 25 Jun 2026 · 115 resources

FOverall
FSecurity
–Reliability · N/A
DCost
715findings · 0 critical, 162 high
$319–$860estimated savings per month, from the code

High 417

High 260 known vulnerabilities in unknown@unknown (postgres:16.2) Security · 260 CVEs

How to fix

No fixed version of unknown is available yet. Check whether postgres:16.2 needs unknown at all (a slimmer or distroless base image often drops it), watch the advisory for a fix, or accept the risk with a review date if it isn't reachable in your setup.

Vulnerabilities

  • High CVE-2025-5222 fixed in no fix yet
  • High CVE-2025-24528 fixed in no fix yet
  • High CVE-2026-42010 fixed in no fix yet
  • High CVE-2026-42012 fixed in no fix yet
  • High CVE-2025-6965 fixed in no fix yet
  • High CVE-2023-24539 fixed in no fix yet
  • High CVE-2023-29400 fixed in no fix yet
  • High CVE-2024-33601 fixed in no fix yet
  • High CVE-2026-48962 fixed in no fix yet
  • High CVE-2024-33602 fixed in no fix yet
  • High CVE-2025-69419 fixed in no fix yet
  • High CVE-2026-42011 fixed in no fix yet
  • High CVE-2022-27664 fixed in no fix yet
  • High CVE-2022-2879 fixed in no fix yet
  • High CVE-2022-2880 fixed in no fix yet
  • High CVE-2022-29804 fixed in no fix yet
  • High CVE-2022-30631 fixed in no fix yet
  • High CVE-2022-30633 fixed in no fix yet
  • High CVE-2022-41715 fixed in no fix yet
  • High CVE-2022-41716 fixed in no fix yet
  • and 240 more
High 131 known vulnerabilities in unknown@unknown (keycloak/keycloak:26.0) Security · 131 CVEs

How to fix

No fixed version of unknown is available yet. Check whether keycloak/keycloak:26.0 needs unknown at all (a slimmer or distroless base image often drops it), watch the advisory for a fix, or accept the risk with a review date if it isn't reachable in your setup.

Vulnerabilities

  • High CVE-2026-7571 fixed in no fix yet
  • High CVE-2026-3872 fixed in no fix yet
  • High CVE-2026-42584 fixed in no fix yet
  • High CVE-2024-12397 fixed in no fix yet
  • High CVE-2026-4282 fixed in no fix yet
  • High CVE-2025-24970 fixed in no fix yet
  • High CVE-2026-33870 fixed in no fix yet
  • High CVE-2026-42198 fixed in no fix yet
  • High CVE-2026-42579 fixed in no fix yet
  • High CVE-2026-42583 fixed in no fix yet
  • High CVE-2026-42587 fixed in no fix yet
  • High CVE-2026-42587 fixed in no fix yet
  • High CVE-2026-44893 fixed in no fix yet
  • High CVE-2026-45416 fixed in no fix yet
  • High CVE-2026-4634 fixed in no fix yet
  • High CVE-2026-50010 fixed in no fix yet
  • High CVE-2026-7307 fixed in no fix yet
  • High CVE-2026-7507 fixed in no fix yet
  • High CVE-2025-6965 fixed in no fix yet
  • High CVE-2026-2092 fixed in no fix yet
  • and 111 more
High 14 known vulnerabilities in stdlib@1.18.2 (postgres:16.2) Security · 14 CVEs

How to fix

Update stdlib from 1.18.2 to 1.18.4 or later in postgres:16.2. If the package comes from the base image, move to a newer base image tag (or rebuild on the current one, then check that it ships 1.18.4); if your application installs it, bump it in its dependency file. Rebuild, push, update the image tag where it's deployed, and scan again.

Vulnerabilities

  • High CVE-2022-28131 fixed in 1.18.4
  • High CVE-2022-30630 fixed in 1.18.4
  • High CVE-2022-30632 fixed in 1.18.4
  • High CVE-2022-30634 fixed in 1.18.3
  • High CVE-2022-30635 fixed in 1.18.4
  • High CVE-2022-32189 fixed in 1.18.5
  • High CVE-2024-34158 fixed in 1.22.7
  • High CVE-2026-25679 fixed in 1.25.8
  • High CVE-2026-33811 fixed in 1.25.10
  • High CVE-2026-39836 fixed in 1.25.10
  • High CVE-2026-42499 fixed in 1.25.10
  • High CVE-2026-42504 fixed in 1.25.11
  • Medium CVE-2025-58185 fixed in 1.24.8
  • Medium CVE-2025-4673 fixed in 1.23.10
High 8 known vulnerabilities in LC_ADDRESS@unknown (keycloak/keycloak:26.0) Security · 8 CVEs

How to fix

No fixed version of LC_ADDRESS is available yet. Check whether keycloak/keycloak:26.0 needs LC_ADDRESS at all (a slimmer or distroless base image often drops it), watch the advisory for a fix, or accept the risk with a review date if it isn't reachable in your setup.

Vulnerabilities

  • High CVE-2026-4046 fixed in no fix yet
  • High CVE-2026-0861 fixed in no fix yet
  • Medium CVE-2025-8058 fixed in no fix yet
  • Medium CVE-2026-0915 fixed in no fix yet
  • Medium CVE-2025-0395 fixed in no fix yet
  • Medium CVE-2025-5702 fixed in no fix yet
  • Medium CVE-2025-4802 fixed in no fix yet
  • Low CVE-2025-15281 fixed in no fix yet
High 1 known vulnerability in krb5@1.20.1-2%2Bdeb12u1 (postgres:16.2) Security · 1 CVE

How to fix

Update krb5 from 1.20.1-2%2Bdeb12u1 to 1.20.1-2+deb12u2 or later in postgres:16.2. If the package comes from the base image, move to a newer base image tag (or rebuild on the current one, then check that it ships 1.20.1-2+deb12u2); if your application installs it, bump it in its dependency file. Rebuild, push, update the image tag where it's deployed, and scan again.

Vulnerabilities

  • High CVE-2024-37371 fixed in 1.20.1-2+deb12u2
High 1 known vulnerability in less@590-2 (postgres:16.2) Security · 1 CVE

How to fix

Update less from 590-2 to 590-2.1~deb12u2 or later in postgres:16.2. If the package comes from the base image, move to a newer base image tag (or rebuild on the current one, then check that it ships 590-2.1~deb12u2); if your application installs it, bump it in its dependency file. Rebuild, push, update the image tag where it's deployed, and scan again.

Vulnerabilities

  • High CVE-2022-48624 fixed in 590-2.1~deb12u2
High Unencrypted EBS Volume Cost · 1 place

EBS volume is not encrypted. This is a security risk and often indicates unmanaged infrastructure.

How to fix

Enable encryption for EBS volumes.

Where

High Expensive NAT Gateway Cost · 1 place

NAT Gateways are expensive managed services. Ensure they are strictly necessary.

How to fix

Consider using VPC Endpoints, NAT Instances for non-critical workloads, or share a single NAT Gateway across multiple subnets.

Where

Medium 281

Medium Ensure an IAM role is attached to EC2 instance Security · 24 places
Medium Ensure that detailed monitoring is enabled for EC2 instances Security · 24 places
Medium Ensure that EC2 is EBS optimized Security · 24 places
Medium Ensure Instance Metadata Service Version 1 is not enabled Security · 24 places
Medium Ensure all data stored in the Launch configuration or instance Elastic Blocks Store is securely encrypted Security · 23 places
Medium Missing Spot Instance Usage Cost · 16 places

No spot instances detected. Spot instances can save 50-90% on compute costs for interruptible workloads.

How to fix

Use spot instances for batch jobs, data analysis, and optional tasks. Consider aws_spot_instance_request or spot_price in launch templates.

Where

Medium Missing Cost and Usage Report Cost · 14 places
Medium Ensure that Security Groups are attached to another resource Security · 11 places
Medium Ensure every security group and rule has a description Security · 8 places
Medium Ensure that S3 bucket has a Public Access block Security · 5 places
Medium Ensure that an S3 bucket has a lifecycle configuration Security · 5 places
Medium Ensure S3 buckets should have event notifications enabled Security · 5 places
Medium Ensure that S3 bucket has cross-region replication enabled Security · 5 places
Medium Ensure that S3 buckets are encrypted with KMS by default Security · 5 places
Medium Ensure the S3 bucket has access logging enabled Security · 5 places
Medium Ensure all data stored in the S3 bucket have versioning enabled Reliability · 5 places
Medium Ensure VPC flow logging is enabled in all VPCs Security · 4 places
Medium Ensure the default security group of every VPC restricts all traffic Security · 4 places

Ensure the default security group of every VPC restricts all traffic

Documentation

Where

Medium Ensure Terraform module sources use a commit hash Security · 4 places
Medium Missing S3 Lifecycle Policy Cost · 3 places

S3 bucket without lifecycle rules. Objects are retained indefinitely, increasing storage costs.

How to fix

Define lifecycle rules to transition objects to cheaper storage classes (e.g., Glacier) or delete them after a retention period.

Where

Medium Ensure RDS instance with copy tags to snapshots is enabled Security · 2 places

Ensure RDS instance with copy tags to snapshots is enabled

Documentation

Where

Medium Ensure that enhanced monitoring is enabled for Amazon RDS instances Security · 2 places

Ensure that enhanced monitoring is enabled for Amazon RDS instances

Documentation

Where

Medium Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled Security · 2 places

Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled

Documentation

Where

Medium Ensure that RDS instances have Multi-AZ enabled Reliability · 2 places

Ensure that RDS instances have Multi-AZ enabled

Documentation

Where

Medium Ensure all data stored in the RDS is securely encrypted at rest Security · 2 places

Ensure all data stored in the RDS is securely encrypted at rest

Documentation

Where

Medium Ensure RDS database has IAM authentication enabled Security · 2 places

Ensure RDS database has IAM authentication enabled

Documentation

Where

Medium Ensure DB instance gets all minor upgrades automatically Security · 2 places

Ensure DB instance gets all minor upgrades automatically

Documentation

Where

Medium Ensure that AWS database instances have deletion protection enabled Reliability · 2 places

Ensure that AWS database instances have deletion protection enabled

Documentation

Where

Medium Ensure Terraform module sources use a tag with a version number Security · 2 places

Ensure Terraform module sources use a tag with a version number

Documentation

Where

Medium Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances Security · 1 place

Ensure that all EIP addresses allocated to a VPC are attached to EC2 instances

Documentation

Where

Medium Ensure that only encrypted EBS volumes are attached to EC2 instances Security · 1 place

Ensure that only encrypted EBS volumes are attached to EC2 instances

Documentation

Where

Medium Ensure Postgres RDS as aws_db_instance has Query Logging enabled Security · 1 place

Ensure Postgres RDS as aws_db_instance has Query Logging enabled

Documentation

Where

Medium Ensure Secrets Manager secrets should have automatic rotation enabled Security · 1 place

Ensure Secrets Manager secrets should have automatic rotation enabled

Documentation

Where

Medium Ensure KMS key Policy is defined Security · 1 place

Ensure KMS key Policy is defined

Documentation

Where

Medium Ensure that RDS clusters has backup plan of AWS Backup Reliability · 1 place

Ensure that RDS clusters has backup plan of AWS Backup

Documentation

Where

Medium Ensure that load balancer is using at least TLS 1.2 Security · 1 place

Ensure that load balancer is using at least TLS 1.2

Documentation

Where

Medium Ensure that AWS Lambda function is configured for function-level concurrent execution limit Security · 1 place

Ensure that AWS Lambda function is configured for function-level concurrent execution limit

Documentation

Where

Medium Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ) Security · 1 place

Ensure that AWS Lambda function is configured for a Dead Letter Queue(DLQ)

Documentation

Where

Medium Ensure that AWS Lambda function is configured inside a VPC Security · 1 place

Ensure that AWS Lambda function is configured inside a VPC

Documentation

Where

Medium Ensure that RDS clusters have deletion protection enabled Reliability · 1 place

Ensure that RDS clusters have deletion protection enabled

Documentation

Where

and 34 more groups with 34 findings

Low 17

Low Missing AWS Budget Cost · 14 places
Low 1 known vulnerability in gcc-12@12.2.0-14 (postgres:16.2) Security · 1 CVE

How to fix

No fixed version of gcc-12 is available yet. Check whether postgres:16.2 needs gcc-12 at all (a slimmer or distroless base image often drops it), watch the advisory for a fix, or accept the risk with a review date if it isn't reachable in your setup.

Vulnerabilities

  • Low CVE-2022-27943 fixed in no fix yet
Low 1 known vulnerability in perl@5.36.0-7%2Bdeb12u1 (postgres:16.2) Security · 1 CVE

How to fix

No fixed version of perl is available yet. Check whether postgres:16.2 needs perl at all (a slimmer or distroless base image often drops it), watch the advisory for a fix, or accept the risk with a review date if it isn't reachable in your setup.

Vulnerabilities

  • Low CVE-2011-4116 fixed in no fix yet
Low Unassociated Elastic IP Cost · 1 place

Elastic IPs are charged if not attached to a running instance or if you have more than one per instance.

How to fix

Release unattached Elastic IPs.

Where

Grades use InfraScan Cloud's current formula, so they can differ from the ones first shown for this scan. Findings reflect the repository on 25 Jun 2026; it may have changed since.

Scan your own repository

InfraScan Cloud scans your repositories and AWS accounts, keeps the history and shows how to fix each finding.