Describe the bug
The advisory GHSA-jf66-3q76-h5p5 contains a malformed entry in its aliases array. The value GHSA-jf66-3q76-h5p5, includes a trailing comma, making it an invalid GHSA identifier.
To Reproduce
- Query the OSV API: GET
https://api.osv.dev/v1/vulns/GHSA-jf66-3q76-h5p5
- Inspect the aliases field in the response
- Observe the second entry is
GHSA-jf66-3q76-h5p5, (with a trailing comma)
Expected behaviour
The aliases array should not contain malformed identifiers. The entry should either be corrected to "GHSA-jf66-3q76-h5p5" or removed entirely, since referencing the advisory's own ID in its aliases is redundant.
Screenshots
"aliases": [
"CVE-2022-1053",
"GHSA-jf66-3q76-h5p5,", <-- trailing comma in value
"PYSEC-2022-184"
]
Describe the bug
The advisory
GHSA-jf66-3q76-h5p5contains a malformed entry in its aliases array. The valueGHSA-jf66-3q76-h5p5,includes a trailing comma, making it an invalid GHSA identifier.To Reproduce
https://api.osv.dev/v1/vulns/GHSA-jf66-3q76-h5p5GHSA-jf66-3q76-h5p5,(with a trailing comma)Expected behaviour
The aliases array should not contain malformed identifiers. The entry should either be corrected to "GHSA-jf66-3q76-h5p5" or removed entirely, since referencing the advisory's own ID in its aliases is redundant.
Screenshots