Comments (7)
Took a quick look at the data, seems each entry is simply:
{ "cveID": "CVE-2021-27104", "vendorProject": "Accellion", "product": "FTA", "vulnerabilityName": "Accellion FTA OS Command Injection Vulnerability", "dateAdded": "2021-11-03", "shortDescription": "Accellion FTA 9_12_370 and earlier is affected by OS command execution via a crafted POST request to various admin endpoints.", "requiredAction": "Apply updates per vendor instructions.", "dueDate": "2021-11-17" },
I think the simplest/most obvious way to put the data in the files would be to keep it in its original format, and simply stick it into the cisa.gov namespace, e.g.:
{ "namespaces": { "cisa.gov": { "title": "CISA Catalog of Known Exploited Vulnerabilities", "catalogVersion": "2022.02.11", "dateReleased": "2022-02-11T10:44:14.1414Z", "count": 368, "vulnerabilities": [ { "cveID": "CVE-2021-27104", "vendorProject": "Accellion", "product": "FTA", "vulnerabilityName": "Accellion FTA OS Command Injection Vulnerability", "dateAdded": "2021-11-03", "shortDescription": "Accellion FTA 9_12_370 and earlier is affected by OS command execution via a crafted POST request to various admin endpoints.", "requiredAction": "Apply updates per vendor instructions.", "dueDate": "2021-11-17" } ] } } }
and obviously match up the CVE in CISA with our CVE alias field so they go in the correct files.
from gsd-tools.
Thanks @kurtseifried !
I'll write up a python script under securitylist/src/securitylist/
and the corresponding tests and propose a PR soon!
Some questions before I start writing -
- I'm guessing we'd want this script to be executed independently and just add the json blob under a
cisa.gov
namespace and update if it doesn't match? (similar pattern as securitylist/src/securitylist/CVE.py#L28 ) - How often do these scripts trigger and are they triggered with github actions? Can I look at how that is defined to write proper entrypoints/params to the script.
from gsd-tools.
I think @joshbressers can help answer questions about how this currently executes.
from gsd-tools.
I think for now the best way to do this is to simply have it generate a PR, I'm looking at my email and CISA has updated the known exploited vulnerability catalog: Jan 10, 17, 24, 28, 31, Feb 4, 7, 11 so about 1-2 times a week (https://public.govdelivery.com/accounts/USDHSCISA/subscriber/new?preferences=true#tab1 to join the list) so a manual script kickoff->PR is manageable and the easiest way to track changes/etc. The gsd-bot is "special" and actually, we want to move away from it and towards an "everyone/everything is a PR" model long term.
from gsd-tools.
I could use PR reviews on :
from gsd-tools.
Can be closed now.
from gsd-tools.
@oswalpalash added this a while ago, closing.
Thanks Palash!
from gsd-tools.
Related Issues (20)
- Update Edit Button to disable submission while already processing API requests
- Replicate the requests form for the Create GSD Form in GSD Web HOT 1
- Reach out to the OpenSSF community on participating with GSD
- Reach out to Ruby Advisory Database community about participation with GSD
- API Endpoint to request/reserve a GSD ID HOT 1
- Update gsd-web to use jsonschema validator HOT 2
- Update gsd-schema with kurtseifried/gsd-schema changes
- Link in https://github.com/cloudsecurityalliance/gsd-tools/blob/main/securitylist/README.md goes to 404 HOT 1
- schema.gsd.id Cloudflare Worker for schema $refs HOT 7
- Fix GSD Bot creating multiple affected packages instead of using multiple ranges
- Update GSD Bot to use INTRODUCED/FIX for reference types HOT 2
- Add tooltips for data.gsd.id add reference type
- Add text box for commit message when editing on data.gsd.id
- Update GSD Web to update modified at when changing a GSD
- Update Edit Button to support all OSV fields HOT 3
- GSD data normalization and format cross-compatibility/conversion
- Vulnerability Data Source Landscape HOT 1
- Update data.gsd.id show page to include all OSV values
- Create an OpenAPI v3.1 Spec for GSD API
- Create Python Interface for GSD HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsd-tools.