Memory store has Redis AUTH disabled Affecting Redis service in Google


0.0
high
    Severity Framework Snyk CCSS
    Rule category General / Data

Is your enviroment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
    Frameworks
    CIS-Controls CSA-CCM
  • Snyk ID SNYK-CC-00429
  • credit Snyk Research Team

Description

Disabled AUTH configuration allows anonymous client access to the Memory store.

How to fix?

Set auth_enabled to true. Disabled AUTH configuration allows anonymous client access to the Memorystore.

Example Configuration

resource "google_redis_instance" "allowed" {
  name           = "memory-cache"
  memory_size_gb = 1
  auth_enabled = true
}