Skip to main content

Category: Database Integrity Problems

Problems related to database integrity constraints, such as not-null violations, unique constraint violations, or foreign key violations

IDTitleDescriptionCategoryTechnologyTags
prequel-2025-0086
Medium
Impact: 7/10
Mitigation: 3/10
Database Not-Null Constraint ViolationAn application is attempting to insert or update records in a database table with NULL values in columns that have NOT NULL constraints. This causes database operations to fail with integrity errors, typically surfacing as NotNullViolation exceptions in application logs. In Django applications, this commonly appears as django.db.utils.IntegrityError or psycopg2.errors.NotNullViolation when using PostgreSQL.Database Integrity Problemspsycopg2DatabasePostgreSQLDjangoData Integrity