Giter VIP home page Giter VIP logo

go-kev's People

Contributors

dependabot[bot] avatar mainek00n avatar sadayuki-matsuno avatar tommartensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

go-kev's Issues

KEV are now part of the NVD

Not actually a support question (I have my own implementation of this feature) but just in case you missed it: the NVD now has its own implementation of this:

https://nvd.nist.gov/General/News/cisa-exploit-catalog

For example on CVE-2021-22600:
https://nvd.nist.gov/vuln/detail/CVE-2021-22600
We have the info, with date added, due date, required action.

I did no check how this appear in the NVD feed, nor how this would/will be in upcoming CVE JSON schema 5 (I did not came across any KEV discussion in this project).

On the other hand, I don't think they will ever support InTheWild.io, which is a similar initiative, but from the private sector.

Date format has been changed again

What did you do? (required. The issue will be closed when not provided.)

Run fetch kevuln.
The date format of known_exploited_vulnerabilities.csv was changed again when I ran it as of 2021/12/19.
mm/dd/yyyy -> yyyy-mm-dd

What did you expect to happen?

I expected the contents of known_exploited_vulnerabilities.csv to be registered in go-kev.sqlite3.

What happened instead?

An empty record has been registered.

  • Current Output

Please re-run the command using -debug and provide the output below.

$ docker run --rm -it --volumes-from vuls-data vuls/go-kev fetch kevuln --debug --debug-sql --dbpath /vuls/go-kev.sqlite3

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:88
[0.015ms] [rows:0] PRAGMA foreign_keys = ON

2021/12/21 00:43:28 /go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:32
[0.036ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="fetch_meta"

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:134
[0.072ms] [rows:1] SELECT count(*) FROM `sqlite_master` WHERE type = "table"

2021/12/21 00:43:28 /go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:32
[0.029ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="fetch_meta"

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:111
[24.138ms] [rows:0] CREATE TABLE `fetch_meta` (`id` integer,`created_at` datetime,`updated_at` datetime,`deleted_at` datetime,`go_kev_revision` text,`schema_version` integer,PRIMARY KEY (`id`))

2021/12/21 00:43:28 /go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:240
[16.648ms] [rows:0] CREATE INDEX `idx_fetch_meta_deleted_at` ON `fetch_meta`(`deleted_at`)

2021/12/21 00:43:28 /go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:32
[0.098ms] [rows:-] SELECT count(*) FROM sqlite_master WHERE type='table' AND name="ke_vulns"

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:111
[16.900ms] [rows:0] CREATE TABLE `ke_vulns` (`id` integer,`cve_id` varchar(255),`source` varchar(255),`product` varchar(255),`title` varchar(255),`added_date` datetime,`description` text,`action` varchar(255),`due_date` datetime,`notes` text,PRIMARY KEY (`id`))

2021/12/21 00:43:28 /go/pkg/mod/gorm.io/driver/[email protected]/migrator.go:240
[16.824ms] [rows:0] CREATE INDEX `idx_kev_cve_id` ON `ke_vulns`(`cve_id`)

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:149 record not found
[0.193ms] [rows:0] SELECT * FROM `fetch_meta` WHERE `fetch_meta`.`deleted_at` IS NULL LIMIT 1

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:163
[16.845ms] [rows:1] INSERT INTO `fetch_meta` (`created_at`,`updated_at`,`deleted_at`,`go_kev_revision`,`schema_version`) VALUES ("2021-12-21 00:43:28.159","2021-12-21 00:43:28.159",NULL,"",1) RETURNING `id`
INFO[12-21|00:43:28] Fetching Known Exploited Vulnerabilities 
INFO[12-21|00:43:28] Fetching                                 URL=https://www.cisa.gov/sites/default/files/csv/known_exploited_vulnerabilities.csv
INFO[12-21|00:43:28] Insert Known Exploited Vulnerabilities into go-kev. db=sqlite3
INFO[12-21|00:43:28] Inserting Known Exploited Vulnerabilities... 

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:184
[0.511ms] [rows:0] DELETE FROM `ke_vulns`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[1.933ms] [rows:50] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[1.721ms] [rows:50] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[1.594ms] [rows:50] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[1.655ms] [rows:50] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[1.812ms] [rows:50] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[1.661ms] [rows:50] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`

2021/12/21 00:43:28 /go/src/github.com/vulsio/go-kev/db/rdb.go:194
[0.690ms] [rows:11] INSERT INTO `ke_vulns` (`cve_id`,`source`,`product`,`title`,`added_date`,`description`,`action`,`due_date`,`notes`) VALUES ("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00",""),("","","","","0000-00-00 00:00:00","","","0000-00-00 00:00:00","") RETURNING `id`
311 / 311 [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% ? p/s
INFO[12-21|00:43:28] CveID Count                              count=311

Steps to reproduce the behaviour

I ran it as a Docker container

  • Remove go-kev.sqlite3
  • Run fetch kevuln

Configuration (MUST fill this out):

  • Go version (go version):

As described in the Dockerfile.

  • Go environment (go env):

As described in the Dockerfile.

  • go-kev environment:

As described in the Dockerfile.

Hash : bb96dcd

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.