Add CVSS4 support #12751
Merged
Add CVSS4 support #12751
DryRunSecurity / General Security Analyzer
succeeded
Jul 15, 2025 in 37s
DryRun Security
Details
General Security Analyzer Findings: 4 detected
⚠️ Regular Expression DoS dojo/utils.py (click for details)
| Type | Regular Expression DoS |
| Description | The parse_cvss_from_text function uses a regular expression that could be vulnerable to catastrophic backtracking. Complex or specially crafted input strings might cause excessive CPU consumption during regex matching, potentially leading to a Denial of Service condition. |
| Filename | dojo/utils.py |
| CodeLink | django-DefectDojo/dojo/utils.py Lines 15 to 27 in 31aca16 |
⚠️ Potential DoS via CVSS Parsing dojo/models.py (click for details)
| Type | Potential DoS via CVSS Parsing |
| Description | The save method of the Finding model attempts to parse CVSS vectors using parse_cvss_data. If the parsing function is not robust against complex or malformed inputs, it could consume excessive computational resources, potentially leading to a Denial of Service condition. |
| Filename | dojo/models.py |
| CodeLink | django-DefectDojo/dojo/models.py Lines 43 to 49 in 31aca16 |
⚠️ Open Redirect dojo/forms.py (click for details)
| Type | Open Redirect |
| Description | The BulletListDisplayWidget renders URLs directly from a dictionary without sanitization. If the URLs dictionary were populated with untrusted input, an attacker could inject a malicious URL that would redirect users when clicked, potentially facilitating phishing or other attacks. |
| Filename | dojo/forms.py |
| CodeLink | django-DefectDojo/dojo/forms.py Lines 123 to 135 in 31aca16 |
⚠️ Command Injection run-unittest.sh (click for details)
| Type | Command Injection |
| Description | The unittest script allows shell command injection via the TEST_CASE parameter. An attacker could inject arbitrary shell commands by providing a maliciously crafted test case, potentially executing code within the Docker container. The script does not sanitize or validate the TEST_CASE input before using it in a shell command. |
| Filename | run-unittest.sh |
| CodeLink | django-DefectDojo/run-unittest.sh Lines 1 to 6 in 31aca16 |
Loading