GithubHelp home page GithubHelp logo

Comments (7)

kurtseifried avatar kurtseifried commented on July 1, 2024 2

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.

oswalpalash avatar oswalpalash commented on July 1, 2024

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.

westonsteimel avatar westonsteimel commented on July 1, 2024

I think @joshbressers can help answer questions about how this currently executes.

from gsd-tools.

kurtseifried avatar kurtseifried commented on July 1, 2024

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.

oswalpalash avatar oswalpalash commented on July 1, 2024

I could use PR reviews on :

  1. #19
  2. https://github.com/cloudsecurityalliance/gsd-database/pull/2250/files

from gsd-tools.

oswalpalash avatar oswalpalash commented on July 1, 2024

Can be closed now.

from gsd-tools.

joshbuker avatar joshbuker commented on July 1, 2024

@oswalpalash added this a while ago, closing.

Thanks Palash!

from gsd-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.