Skip to main content

Category: Database Problems

Problems related to databases, like MySQL, PostgreSQL, MongoDB, and others

IDTitleDescriptionCategoryTechnologyTags
CRE-2025-0035
Critical
Impact: 7/10
Mitigation: 6/10
psycopg2 SSL error due to thread or forked process state
Applications using psycopg2 with OpenTelemetry instrumentation or threading may fail with SSL-related errors such as "decryption failed or bad record mac". This often occurs when a database connection is created before a fork or from an unsafe thread context, causing the SSL state to become invalid.
Database ProblemsdjangoSslPsycopg2ForkThreadsDjangoInstrumentationOpentelemetryKnown IssuePublic
CRE-2025-0042
Critical
Impact: 7/10
Mitigation: 5/10
PostgreSQL transaction fails with deadlock detected error in psycopg2 and Django
  • Applications using Django with PostgreSQL and psycopg2 may encounter `deadlock detected` errors under concurrent write-heavy workloads.
  • PostgreSQL raises this error when two or more transactions block each other cyclically while waiting for locks, and one must be aborted.
  • Django surfaces this as an `OperationalError`, and the affected transaction is rolled back.
Database ProblemsdjangoPostgreSQLPsycopg2DjangoTransactionDeadlockOperational errorPublicKnown Issue
CRE-2025-0073
High
Impact: 9/10
Mitigation: 6/10
Redis Rejects Writes Due to Reaching 'maxmemory' Limit
The Redis instance has reached its configured 'maxmemory' limit. Because its active memorymanagement policy does not permit the eviction of existing keys to free up space (as is thecase when the 'noeviction' policy is in effect, which is often the default), Redis rejectsnew write commands by sending an "OOM command not allowed" error to the client.
Database Problemsredis-cliRedisRedis CLIMemory PressureMemoryData LossPublic
CRE-2025-0077
High
Impact: 9/10
Mitigation: 7/10
PostgreSQL Fails to Extend File Due to Disk Full
PostgreSQL logs an error when it cannot extend a data file (table/index) becausethe filesystem is out of disk space. This prevents writes requiring new allocation.
Database ProblemspostgresqlPostgreSQLDisk FullWrite FailurePublic
CRE-2025-0126
High
Impact: 10/10
Mitigation: 7/10
MongoDB Replica Set Primary Election Failure
Detects high-severity MongoDB replica set primary election failures that result in no primary node being available,causing complete service unavailability. This rule targets catastrophic conditions that break replica set consensus:
  • Primary node failures followed by election timeouts where no secondary can become primary
  • Network partitions isolating replica set members and preventing quorum formation
  • Heartbeat failures and connectivity issues leading to election failures
  • Replica set state transitions indicating election problems
Database ProblemsmongodbHigh AvailabilityQuorumLeader ElectionNetworkTimeoutCrashData Loss