Skip to content

How to detect link between a vulnerability and source code of project? #1216

@JafarAkhondali

Description

@JafarAkhondali

As an example, consider this security advisory: GHSA-7p8h-86p5-wv3p

The CVE related to this advisory is "CVE-2021-21422". In this project(vulnerablecode), we can detect the relation between CVE and the package manager, which is npm in this case. However, I couldn't find a way to detect a link between a CVE and the project source code. It's also possible for some open source projects that they wouldn't have any package manager at all. Is adding the link between a vulnerability and a the project source code a possible\planned\in-scope feature for this project? My goal is to have a relation between a package and upstream source code. This way, we can link a many package to a github\gitlab\bitbucket project. Then for each project link, we can other metadata of the project as well. If we can discuss it further I might be able implement it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions