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

Fix vulnerabilities: GO-2024-2598,GO-2024-2599,GO-2024-2600 #57

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

alexandear
Copy link
Owner

@alexandear alexandear commented Mar 11, 2024

The PR fixes the following govulncheck issues:

=== Symbol Results ===

Vulnerability #1: GO-2024-2600
    Incorrect forwarding of sensitive headers and cookies on HTTP redirect in
    net/http
  More info: https://pkg.go.dev/vuln/GO-2024-2600
  Standard library
    Found in: net/[email protected]
    Fixed in: net/[email protected]
    Example traces found:
Error:       #1: internal/gitlab.go:37:51: internal.GitLab.CurrentUser calls gitlab.UsersService.ListEmails, which eventually calls http.Client.Do

Vulnerability #2: GO-2024-2599
    Memory exhaustion in multipart form parsing in net/textproto and net/http
  More info: https://pkg.go.dev/vuln/GO-2024-2599
  Standard library
    Found in: net/[email protected]
    Fixed in: net/[email protected]
    Example traces found:
Error:       #1: internal/gitlab.go:37:51: internal.GitLab.CurrentUser calls gitlab.UsersService.ListEmails, which eventually calls textproto.Reader.ReadLine
Error:       #2: internal/gitlab.go:37:51: internal.GitLab.CurrentUser calls gitlab.UsersService.ListEmails, which eventually calls textproto.Reader.ReadMIMEHeader

Vulnerability #3: GO-2024-2598
    Verify panics on certificates with an unknown public key algorithm in
    crypto/x509
  More info: https://pkg.go.dev/vuln/GO-2024-2598
  Standard library
    Found in: crypto/[email protected]
    Fixed in: crypto/[email protected]
    Example traces found:
Error:       #1: internal/gitlab.go:37:51: internal.GitLab.CurrentUser calls gitlab.UsersService.ListEmails, which eventually calls x509.Certificate.Verify

@alexandear alexandear force-pushed the fix-go-1-21-5-vulnerabilities branch from 3655a09 to 08bfff9 Compare March 11, 2024 13:55
@alexandear alexandear force-pushed the fix-go-1-21-5-vulnerabilities branch from 08bfff9 to 1019456 Compare March 11, 2024 14:17
@alexandear alexandear merged commit 909ac9c into main Mar 11, 2024
5 checks passed
@alexandear alexandear deleted the fix-go-1-21-5-vulnerabilities branch March 11, 2024 14:26
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

Successfully merging this pull request may close these issues.

1 participant