aboutcode-org / aboutcode-org/vulnerablecode

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

Open
#1,216 2 comments 0 reactions 0 assignees View on GitHub
Core models
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

As an example, consider this security advisory: https://github.com/mongo-express/mongo-express/security/advisories/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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.