https://github.com/daehee/nvd
Fast, simple library in Go to fetch CVEs from the National Vulnerability Database feeds
https://github.com/daehee/nvd
cve go golang infosec vulnerabilities
Last synced: 5 months ago
JSON representation
Fast, simple library in Go to fetch CVEs from the National Vulnerability Database feeds
- Host: GitHub
- URL: https://github.com/daehee/nvd
- Owner: daehee
- License: mit
- Created: 2020-12-16T04:44:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-30T23:18:27.000Z (over 5 years ago)
- Last Synced: 2025-09-29T12:58:09.429Z (9 months ago)
- Topics: cve, go, golang, infosec, vulnerabilities
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 33
- Watchers: 1
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nvd [](https://goreportcard.com/report/github.com/daehee/nvd)
Fast, simple library in Go to fetch CVEs from the NVD (U.S. National Vulnerability Database) feeds.
## Install
```
go get github.com/daehee/nvd
```
## Usage
The `nvd` package provides a `Client` for fetching CVEs from the official NVD feeds:
```go
// nvd client with ./tmp working dir
client, err := NewClient("tmp")
// Fetch single CVE
cve, err := client.FetchCVE("CVE-2020-14882")
// Fetch all recently published and modified CVES
cves, err := client.FetchUpdatedCVEs()
```
## License
[MIT License](LICENSE)