-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the preferred way to programmatically consume Node vulnerability data? #783
Comments
The best resources are the CVE databases of MITRE and NVD, the official Node.js blog and https://github.com/advisories?query=node.js which can be all consumed via RSS. https://nodejs.org/en/blog/vulnerability/ Is this sufficient for your use case? |
Thank you for pointing me to those sources! The information I'd want my automation to consume would be:
It doesn't look like any of the suggested sources do exactly this:
So if these were my options, my best bet would be to try to scrape freeform text. If I were to scrape the Vulnerability feed, I guess I could look for links in the form Alternatively, I could scrape release nodes of new Node.js versions (either via the blog or GitHub releases API) and look for either the text Would either of those be considered stable interfaces? Thank you very much! |
If it's just the Node.js runtime versions you'd like to correlate CVEs to then I think this repository is still receiving updates for that, or at least there's a formal place elsewhere to grab them, no? |
The |
It's just the Node.js runtime versions I'd like to correlate vulnerabilities and fixes to. If the plan is for this repository to still receive updates for those, great! If there's a formal place elsewhere to grab them, great! That's my purpose for opening this ticket, to determine where I should grab them going forward.
I was not aware of https://nodejs.org/dist/index.json. Is that a stable interface I can use? If so, I could derive what I need from the |
@daxelrod I think yes that's a stable interface (at least I use it in one of my package since few years and i had no issue to date). I'm closing since you seem to have a solution to your problem. |
It sounds from #662 and #628 (comment) that the plan is to retire the vuln DB in this repo completely. Once that happens, where will be the best place to get machine-readable data about vulnerabilities in Node itself (the Node.js project, not the third-party ecosystem), in other words, the replacement for https://github.com/nodejs/security-wg/tree/main/vuln/core? And what is the approximate timeline for retirement?
I ask because I maintain an application that I would like to distribute bundled with a Node.js executable on some platforms. I'd like to set up automation to create new releases whenever a new version of Node fixes a vulnerability (but I don't want the churn of releasing on every patch release of Node).
Thank you for the good work you do keeping all of us safer.
The text was updated successfully, but these errors were encountered: