Manually created vulnerabilities all share a common location
Summary
Manually created vulnerabilities all share a common, hard-coded location fingerprint. This means that when two vulnerabilities are created with the same primary identifier, they are considered duplicates because they have the same UUID.
Steps to reproduce
- Go to https://gitlab.com/project/path/-/security/vulnerabilities/new on an Ultimate-licensed project
- Fill in all of the fields and create the vulnerability
- Go back to https://gitlab.com/project/path/-/security/vulnerabilities/new and fill in the form again with a different name and description, but the same identifier information.
- Attempt to submit the form
- Receive "Vulnerability with those details already exists"
What is the current bug behavior?
It is not possible to create multiple manual vulnerabilities with the same identifier
What is the expected correct behavior?
It should be possible to create multiple manual vulnerabilities with the same identifier
Relevant logs and/or screenshots
Possible fixes
Change the location fingerprint for manually created vulnerabilities to a UUID or incremental value
