{"id":34128824,"url":"https://github.com/ghostbar/nvdcve2json","last_synced_at":"2025-12-15T00:01:33.017Z","repository":{"id":57582326,"uuid":"54863409","full_name":"ghostbar/nvdcve2json","owner":"ghostbar","description":"Pipe-able parser from XML to JSON of the nvdcve list.","archived":true,"fork":false,"pushed_at":"2023-09-02T23:10:37.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T00:45:19.247Z","etag":null,"topics":["cve","go","golang","json","nvdcve","parse","xml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghostbar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-28T03:41:26.000Z","updated_at":"2023-09-02T23:14:43.000Z","dependencies_parsed_at":"2024-06-20T00:26:13.997Z","dependency_job_id":"d3cce021-c7ad-42fe-bcf2-1f81a985ee3a","html_url":"https://github.com/ghostbar/nvdcve2json","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ghostbar/nvdcve2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostbar%2Fnvdcve2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostbar%2Fnvdcve2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostbar%2Fnvdcve2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostbar%2Fnvdcve2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghostbar","download_url":"https://codeload.github.com/ghostbar/nvdcve2json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostbar%2Fnvdcve2json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27739862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cve","go","golang","json","nvdcve","parse","xml"],"created_at":"2025-12-15T00:01:07.225Z","updated_at":"2025-12-15T00:01:33.005Z","avatar_url":"https://github.com/ghostbar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"nvdcve2json\n===========\n\n**DISCONTINUED**: Since October 16th, 2019, the NVD discontinued support for XML Data Feeds. You can [read more here](https://nvd.nist.gov/General/News/XML-Vulnerability-Feed-Retirement). There are JSON data feeds available that are going to be discontinued by the end of 2023. They recommend to use their API instead.\n\nPipe-able parser from XML to JSON of the nvdcve list.\n\nHOW DO I USE IT?\n----------------\nFirst, install it with:\n\n    go get github.com/ghostbar/nvdcve2json\n\nOr just go to the [releases](https://github.com/ghostbar/nvdcve2json/releases)\npage and download the binary for your system.\n\nThen, just run it like:\n\n\n    $GOPATH/bin/nvdcve2json \u003c nvdcve-2.0-2016.xml\n\n    curl https://nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-Recent.xml.gz | \\\n      gunzip - | $GOPATH/bin/nvdcve2json\n\n    $GOPATH/bin/nvdcve2json --input nvdcve-2.0-2016.xml\n\n    $GOPATH/bin/nvdcve2json --input nvdcve-2.0-2016.xml \u003e nvdcve-2.0-2016.json\n\nMore help can be found on `$GOPATH/bin/nvdcve2json --help`.\n\nWHAT ABOUT FILTERING STUFF OUT?\n-------------------------------\n\nYou can use the flag `--filter` since `v1.0.0` to just get the CVEs you want,\nlike: `\"cpe:/o:apple:mac_os_x\"`, then `nvdcve2json` will use the logical tests\non the `vulnerable-configuration` field to determine if that `cpe` string\nmatches any of the CVEs and will print out just that.\n\nProtip: you can send multiple `--filter`, like:\n\n    curl https://nvd.nist.gov/feeds/xml/cve/nvdcve-2.0-Recent.xml.gz | \\\n      gunzip - | $GOPATH/bin/nvdcve2json --filter \"cpe:/o:apple:mac_os_x\"\n      --filter \"cpe:/o:microsoft:windows\" \u003e cves-for-mac-n-windows.json\n\nAUTHOR AND LICENSE\n------------------\n© Jose-Luis Rivas `\u003cme@ghostbar.co\u003e`.\n\nThis software is licensed under the MIT terms, a copy of the license can be\nfound in the `LICENSE` file in this repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostbar%2Fnvdcve2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostbar%2Fnvdcve2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostbar%2Fnvdcve2json/lists"}