smallnest / gen

Converts a database into gorm structs and RESTful api
Apache License 2.0
1.43k stars 233 forks source link

fix CVE-2021-3538 #192

Closed shelmingsong closed 1 year ago

shelmingsong commented 1 year ago

Dependency go:github.com/satori/go.uuid:v1.2.0 is vulnerable CVE-2021-3538 9.8 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) vulnerability with high severity found

So use github.com/google/uuid:v1.3.0 to replace github.com/satori/go.uuid:v1.2.0