Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UUID Package Introduces Vulnerability #52

Closed
danadoherty639 opened this issue Jul 9, 2021 · 2 comments
Closed

UUID Package Introduces Vulnerability #52

danadoherty639 opened this issue Jul 9, 2021 · 2 comments
Assignees

Comments

@danadoherty639
Copy link

danadoherty639 commented Jul 9, 2021

Playground link - N/A

The package github.com/satori/go.uuid@v1.2.0 introduces a vulnerabiltiy to the postgres driver for gorm, meaning we cannot use the default postgres driver and would need to write our own driver to get past this. Wondering if it would be possible to have the dependency github.com/satori/go.uuid@v1.2.0 updated or removed.

Details of vulnerability:
Affected versions of this package are vulnerable to Insecure Randomness producing predictable UUID identifiers due to the limited number of bytes read when using the g.rand.Read function.

@akshaybharambe14
Copy link

As this is not a direct dependency, it removed from github.com/jackc/pgx in jackc/pgtype@cf8fe4a#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6. We just need to update dependencies.

@jinzhu
Copy link
Member

jinzhu commented Oct 9, 2021

done.

@jinzhu jinzhu closed this as completed Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants