dependency-check / dependency-check/DependencyCheck
Expand GitLab format information about score and CVSS vector
- Dominant language
- Java
- Stars
- 7.7k
- Forks
- 1.4k
- Avg merge
- 9d 22h
- Merged PRs (30d)
- 13
Description
Currently GitLab format doesn't provide information about score and CVSS vector but JUNIT format does.
JUNIT:
```xml
A SSRF vulnerability in parsing the��href attribute of XOP:Include in MTOM requests in versions of Apache CXF before 3.5.5 and 3.4.10 allows an attacker to perform SSRF style attacks on webservices that take at least one parameter of any type.��
location: /builds/softnet/p31/eBankNet/.m2/repository/org/apache/cxf/cxf-rt-wsdl/3.4.4/cxf-rt-wsdl-3.4.4.jar, project-references: [ dbts:compile ]
```
GitLab has introduced CVSS_VECTOR in format:
https://gitlab.com/gitlab-org/security-products/security-report-schemas/-/commit/03a58b32e9d2c43d45934fbe750ef4580aa7a3f6
IMO we should expand `description` section about message same as in JUNIT and add `CVSS_VECTOR`
Ref:
- https://github.com/jeremylong/DependencyCheck/blob/main/core/src/main/resources/templates/junitReport.vsl#L74
- https://github.com/jeremylong/DependencyCheck/blob/main/core/src/main/resources/templates/gitlabReport.vsl#L102
Contributor guide
Assessment
This issue has not been assessed yet.