Improve cvssv3 validation #12440
Merged
Improve cvssv3 validation #12440
DryRunSecurity / General Security Analyzer
succeeded
Jun 22, 2025 in 44s
DryRun Security
Details
General Security Analyzer Findings: 3 detected
⚠️ Potential DoS via CVSS Parsing dojo/tools/jfrog_xray_unified/parser.py (click for details)
| Type | Potential DoS via CVSS Parsing |
| Description | Multiple parsers introduce a utility function parse_cvss_data() which processes untrusted CVSS vector inputs. While the function appears to use a library for parsing, there's a potential risk of resource exhaustion if maliciously crafted CVSS vectors are processed. The parsing occurs in multiple tools like JFrog Xray, Sonatype, and others, increasing the attack surface. |
| Filename | dojo/tools/jfrog_xray_unified/parser.py |
| CodeLink | django-DefectDojo/dojo/tools/jfrog_xray_unified/parser.py Lines 2 to 8 in 15fc291 |
⚠️ Logging Sensitive Input dojo/utils.py (click for details)
| Type | Logging Sensitive Input |
| Description | The parse_cvss_data() function in utils.py logs the full CVSS vector string when parsing fails. In a debug or error logging context, this could potentially expose sensitive information if the CVSS vector contains unexpected data. The logging occurs at debug level, which mitigates some risk but doesn't eliminate it completely. |
| Filename | dojo/utils.py |
| CodeLink | django-DefectDojo/dojo/utils.py Lines 15 to 32 in 15fc291 |
⚠️ Validator Information Disclosure dojo/validators.py (click for details)
| Type | Validator Information Disclosure |
| Description | The validators.py contains error handling that logs and constructs error messages embedding user input. While the input is expected to be CVSS vectors, the direct inclusion of input in error messages could potentially leak implementation details or be used for reconnaissance. |
| Filename | dojo/validators.py |
| CodeLink | django-DefectDojo/dojo/validators.py Lines 1 to 53 in 15fc291 |
Loading