Finding Groups: Respect minimum severity and active/verified rules when pushing to JIRA #12475
DryRunSecurity / General Security Analyzer
succeeded
Jun 22, 2025 in 2s
DryRun Security
Details
General Security Analyzer Findings: 5 detected
⚠️ Hardcoded Authentication Token unittests/vcr/jira/JIRAImportAndPushTestApi.test_import_no_push_to_jira.yaml (click for details)
| Type | Hardcoded Authentication Token |
| Description | Test files contain hardcoded authentication tokens (e.g., 'Token xxx'), which represents a security anti-pattern. Even as a placeholder, this indicates potential mishandling of sensitive credentials. Best practices recommend using environment variables, secure configuration management, or dedicated secrets management systems to handle authentication tokens. |
| Filename | unittests/vcr/jira/JIRAImportAndPushTestApi.test_import_no_push_to_jira.yaml |
| CodeLink |
⚠️ Unencrypted API Communication unittests/vcr/jira/JIRAImportAndPushTestApi.test_import_no_push_to_jira.yaml (click for details)
| Type | Unencrypted API Communication |
| Description | Test recordings show API communication over unencrypted HTTP (http://localhost:8080, http://webhook.endpoint:8080). While this is in test data, it highlights a critical security risk if replicated in production. All sensitive API communications must use HTTPS to prevent eavesdropping and man-in-the-middle attacks. |
| Filename | unittests/vcr/jira/JIRAImportAndPushTestApi.test_import_no_push_to_jira.yaml |
| CodeLink |
⚠️ Information Disclosure via Debug Logging dojo/jira_link/helper.py (click for details)
| Type | Information Disclosure via Debug Logging |
| Description | New debug logging statements in jira_link/helper.py expose internal object details like finding IDs, active status, and verification flags. If debug logs are enabled in production, this could reveal sensitive system internals and finding states. |
| Filename | dojo/jira_link/helper.py |
| CodeLink | django-DefectDojo/dojo/jira_link/helper.py Lines 109 to 144 in 32a4a7e |
⚠️ Business Logic Flaw in Finding Group Status Determination dojo/jira_link/helper.py (click for details)
| Type | Business Logic Flaw in Finding Group Status Determination |
| Description | The new _safely_get_obj_status_for_jira function introduces complex logic for determining Finding Group statuses. Subtle flaws in this logic could lead to incorrect authorization decisions, potentially allowing unqualified findings to be pushed to JIRA or preventing legitimate findings from being processed. |
| Filename | dojo/jira_link/helper.py |
| CodeLink | django-DefectDojo/dojo/jira_link/helper.py Lines 183 to 206 in 32a4a7e |
⚠️ Potential Denial of Service via Resource Exhaustion dojo/jira_link/helper.py (click for details)
| Type | Potential Denial of Service via Resource Exhaustion |
| Description | Functions like jira_priority and get_sla_deadline for Finding Groups iterate over findings, potentially becoming computationally expensive with large finding groups. An attacker could exploit this by creating extremely large finding groups, leading to performance degradation. |
| Filename | dojo/jira_link/helper.py |
| CodeLink | django-DefectDojo/dojo/jira_link/helper.py Lines 687 to 708 in 32a4a7e |
Loading