Skip to content

GHSA-jf66-3q76-h5p5: Malformed alias with trailing comma #5095

@simon-reisinger-dynatrace

Description

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"
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions