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

Dependency text 0.3.6 has a vulnerability #103

Closed
Akaame opened this issue Feb 15, 2022 · 1 comment
Closed

Dependency text 0.3.6 has a vulnerability #103

Akaame opened this issue Feb 15, 2022 · 1 comment

Comments

@Akaame
Copy link

Akaame commented Feb 15, 2022

Hello,

Our vulnerability scanner (Snyk) points that PGX and co. are vulnerable due to golang.org/x/text not being on the latest version 0.3.7

✗ Medium severity vulnerability found in golang.org/x/text/internal/language
  Description: Out-of-bounds Read
  Info: https://snyk.io/vuln/SNYK-GOLANG-GOLANGORGXTEXTINTERNALLANGUAGE-2400718
  Introduced through: golang.org/x/text/secure/precis@0.3.6
  From: golang.org/x/text/secure/precis@0.3.6 > golang.org/x/text/language@0.3.6 > golang.org/x/text/internal/language@0.3.6
  From: golang.org/x/text/secure/precis@0.3.6 > golang.org/x/text/language@0.3.6 > golang.org/x/text/internal/language/compact@0.3.6 > golang.org/x/text/internal/language@0.3.6
  From: golang.org/x/text/secure/precis@0.3.6 > golang.org/x/text/cases@0.3.6 > golang.org/x/text/language@0.3.6 > golang.org/x/text/internal/language@0.3.6
  and 3 more...
  Fixed in: 0.3.7

What is the procedure going forward? Will there be a v1.11.1? Is this issue already voiced in one of the sister projects?

Cheers.

jackc added a commit that referenced this issue Feb 19, 2022
@jackc
Copy link
Owner

jackc commented Feb 19, 2022

After reviewing how that library is actually used in pgconn it does not appear that the issue can be triggered through pgconn. I've still upgraded the dependency anyway to make vulnerability scanners happy. But since it isn't actually a security issue I don't plan on doing a tagged release just for this.

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