Skip to content

SEMVER version advisories appearing for ecosystems with non-semver versions #1834

@another-rex

Description

@another-rex

Describe the bug
https://osv.dev/vulnerability/MAL-2023-8369 is an example of a SEMVER affected version range in PyPI, which is not a SemVer version.

To Reproduce
Try to query the telethon2 package with any version and it will not return that advisory

Expected behaviour
The advisory to be returned

Additional context
For malicious packages specifically, they generally get removed from the repositories, so we can't enumerate versions. We need some sort of wildcard version that matches all versions, for non-semver ecosystems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogImportant but currently unprioritizedbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions