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

Update go version to address vulnerabilities #2020

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

pjuarezd
Copy link
Member

@pjuarezd pjuarezd commented Mar 6, 2024

Vulnerability #1: GO-2024-2610
    Errors returned from JSON marshaling may break template escaping in
    html/template
  More info: https://pkg.go.dev/vuln/GO-2024-2610
  Standard library
    Found in: html/[email protected]
    Fixed in: html/[email protected]
    Example traces found:
      #1: api/operations/operator_api.go:1014:39: operations.OperatorAPI.Serve calls middleware.Context.APIHandlerSwaggerUI, which eventually calls template.Template.Execute
      #2: api/server.go:331:31: api.Serve calls http.Server.Serve, which eventually calls template.Template.ExecuteTemplate

Vulnerability #2: 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:
      #1: pkg/logger/target/http/http.go:99:24: http.Target.Init calls http.Client.Do
      #2: pkg/http/http.go:43:21: http.Client.Get calls http.Client.Get
      #3: pkg/http/http.go:48:22: http.Client.Post calls http.Client.Post
      #4: pkg/logger/target/http/http.go:99:24: http.Target.Init calls http.Client.Do, which eventually calls cookiejar.Jar.Cookies
      #5: pkg/logger/target/http/http.go:99:24: http.Target.Init calls http.Client.Do, which eventually calls cookiejar.Jar.SetCookies

Vulnerability #3: 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:
      #1: api/server.go:331:31: api.Serve calls http.Server.Serve, which eventually calls textproto.Reader.ReadLine
      #2: pkg/apis/minio.min.io/v2/helper.go:1064:19: minio.ParseRawConfiguration calls bufio.Scanner.Scan, which eventually calls textproto.Reader.ReadMIMEHeader

Vulnerability #4: 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:
      #1: pkg/apis/minio.min.io/v2/helper.go:302:25: minio.ExtractTar calls io.Copy, which eventually calls x509.Certificate.Verify

@jiuker jiuker merged commit 3966cfa into minio:master Mar 6, 2024
26 checks passed
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.

3 participants