remove actual_time and estimated_time fields#12712
Merged
Maffooch merged 2 commits intoJun 30, 2025
Merged
Conversation
|
This pull request contains two findings: a potential information disclosure risk from adding new filter fields that might expose sensitive metadata, and a database migration that removes time-tracking fields which could lead to potential data loss, though neither finding is considered blocking.
Information Disclosure in
|
| Vulnerability | Information Disclosure |
|---|---|
| Description | Adding 'engagement' and 'version' to filter fields could expose sensitive metadata if these fields contain confidential information. This increases the risk of information leakage through API or filter endpoints by making potentially sensitive fields searchable or filterable. |
django-DefectDojo/dojo/filters.py
Lines 2982 to 2988 in c02618b
Potential Data Loss in dojo/db_migrations/0232_remove_test_actual_time_remove_test_estimated_time.py
| Vulnerability | Potential Data Loss |
|---|---|
| Description | Database migration removes 'actual_time' and 'estimated_time' fields from the Test model. If these fields contained critical time-tracking or audit information, their removal could lead to permanent loss of historical data and potentially impact compliance or project tracking capabilities. |
All finding details can be found in the DryRun Security Dashboard.
Contributor
|
Wow, those are some old model fields. When they were added we were considering tracking the accuracy of estimating manual testing vs the actual time it took the manual test to complete. As you noticed, that idea was never fully implemented. Thanks for the clean-up work. |
Maffooch
approved these changes
Jun 30, 2025
dogboat
approved these changes
Jun 30, 2025
hblankenship
approved these changes
Jun 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes
Testfields that aren't used/referenced anywhere:actual_timeestimated_timeFixes #11121