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

Security flaw in dependency library for UUID generation #139

Closed
grafov opened this issue Oct 21, 2022 · 1 comment
Closed

Security flaw in dependency library for UUID generation #139

grafov opened this issue Oct 21, 2022 · 1 comment

Comments

@grafov
Copy link

grafov commented Oct 21, 2022

This library depend on github.com/jackc/pgx/v4 that in turn uses github.com/satori/go.uuid library (the proof is https://github.com/jackc/pgx/blob/v4.17.2/go.sum#L103). The library that used for uuid generation is not maintained anymore and have known security issue: satori/go.uuid#120

The possible solution

Upgrade used library to pgx/v5 where the dependency to satori/go.uuid is completely absent.

@jinzhu jinzhu closed this as completed in 321c8fd Nov 2, 2022
@perelin
Copy link

perelin commented Dec 7, 2022

Still no release (1.4.6) here? github.com/jackc/pgx/v4 was also somehow importing a vulnerable golang.org/x/crypto version, see https://www.cve.org/CVERecord?id=CVE-2020-9283 Seems to be fixed in github.com/jackc/pgx/v5

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

2 participants