- Vulnerability status values
- Change vulnerability status
- Create an issue for a vulnerability
- Linked issues
- Link to existing issues
- Resolve a vulnerability
- Vulnerability scanner maintenance
Introduced in GitLab 13.0.
Each vulnerability in a project has a Vulnerability Page. This page contains details of the vulnerability. The details included vary according to the type of vulnerability. Details of each vulnerability include:
- When it was detected
- Current status
- Available actions
- Linked issues
- Actions log
In GitLab 14.3 and later, if the scanner determined the vulnerability to be a false positive, an alert message is included at the top of the vulnerability’s page.
On the vulnerability’s page, you can:
- Change the vulnerability’s status.
- Create an issue.
- Link issues to the vulnerability.
- Resolve a vulnerability, if a solution is available.
A vulnerability’s status can be one of the following:
|Detected||The default state for a newly discovered vulnerability. Appears as “Needs triage” in the UI.|
|Confirmed||A user has seen this vulnerability and confirmed it to be accurate.|
|Dismissed||A user has seen this vulnerability and dismissed it because it is not accurate or otherwise not to be resolved.|
|Resolved||The vulnerability has been fixed or is no longer present.|
Dismissed vulnerabilities are ignored if detected in subsequent scans. Resolved vulnerabilities that are reintroduced and detected by subsequent scans have a new vulnerability record created. When an existing vulnerability is no longer detected in a project’s
default branch, you should change its status to Resolved. This ensures that if it is accidentally reintroduced in a future merge, it will be visible again as a new record. You can use the Activity filter to select all vulnerabilities that are no longer detected, and change their status.
To change a vulnerability’s status, select a new value from the Status dropdown then select Change status. Optionally, add a comment to the log entry at the bottom of the page.
From a vulnerability’s page you can create an issue to track all action taken to resolve or mitigate it.
You can create either:
Creating a Jira issue requires that Jira integration is enabled on the project. Note that when Jira integration is enabled, the GitLab issue feature is not available.
To create a GitLab issue for a vulnerability:
- In GitLab, go to the vulnerability’s page.
- Select Create issue.
An issue is created in the project, pre-populated with information from the vulnerability report. The issue is then opened so you can take further action.
- Enable Jira integration. The Enable Jira issues creation from vulnerabilities option must be selected as part of the configuration.
- Each user must have a personal Jira user account with permission to create issues in the target project.
To create a Jira issue for a vulnerability:
- Go to the vulnerability’s page.
- Select Create Jira issue.
- If you’re not already logged in to Jira, log in.
The Jira issue is created and opened in a new browser tab. The Summary and Description fields are pre-populated from the vulnerability’s details.
Unlike GitLab issues, the status of whether a Jira issue is open or closed does not display in the GitLab user interface.
You can link one or more existing GitLab issues to a vulnerability. Adding a link helps track the issue that resolves or mitigates a vulnerability.
Issues linked to a vulnerability are shown in the Vulnerability Report and the vulnerability’s page.
Be aware of the following conditions between a vulnerability and a linked issue:
- The vulnerability page shows related issues, but the issue page doesn’t show the vulnerability it’s related to.
- An issue can only be related to one vulnerability at a time.
- Issues can be linked across groups and projects.
To link a vulnerability to existing issues:
- Go to the vulnerability’s page.
- In the Linked issues section, select the plus icon ().
- For each issue to be linked, either:
- Paste a link to the issue.
- Enter the issue’s ID (prefixed with a hash
- Select Add.
The selected issues are added to the Linked issues section, and the linked issues counter is updated.
For some vulnerabilities a solution is already known. In those instances, a vulnerability’s page includes a Resolve with merge request option.
To resolve a vulnerability, you can either:
The following scanners are supported:
Automatic Patch creation is only available for Node.js projects managed with
- Container Scanning.
To resolve the vulnerability with a merge request, go to the vulnerability’s page and from the Resolve with merge request dropdown select Resolve with merge request.
A merge request is created which applies the patch required to resolve the vulnerability. Process the merge request according to your standard workflow.
To manually apply the patch that GitLab generated for a vulnerability:
- Go to the vulnerability’s page and from the Resolve with merge request dropdown select Download patch to resolve.
- Ensure your local project has the same commit checked out that was used to generate the patch.
git apply remediation.patch.
- Verify and commit the changes to your branch.
The following vulnerability scanners and their databases are regularly updated:
|Secure scanning tool||Vulnerabilities database updates|
|Container Scanning||A job runs on a daily basis to build new images with the latest vulnerability database updates from the upstream scanner.|
|Dependency Scanning||Relies on |
|Dynamic Application Security Testing (DAST)||The scanning engine is updated on a periodic basis. See the version of the underlying tool |
|Static Application Security Testing (SAST)||Relies exclusively on the tools GitLab wraps. The underlying analyzers are updated at least once per month if a relevant update is available. The vulnerabilities database is updated by the upstream tools.|
You do not have to update GitLab to benefit from the latest vulnerabilities definitions. The security tools are released as Docker images. The vendored job definitions that enable them use major release tags according to semantic versioning. Each new release of the tools overrides these tags. The Docker images are updated to match the previous GitLab releases. Although you automatically get the latest versions of the scanning tools, there are some known issues with this approach.