Skip to content

Bump golang.org/x/net to v0.45.0 to fix vulnerability#224

Open
alexandear wants to merge 1 commit into
microcosm-cc:mainfrom
alexandear-org:chore/upgrade-net-package
Open

Bump golang.org/x/net to v0.45.0 to fix vulnerability#224
alexandear wants to merge 1 commit into
microcosm-cc:mainfrom
alexandear-org:chore/upgrade-net-package

Conversation

@alexandear
Copy link
Copy Markdown

@alexandear alexandear commented Feb 23, 2026

Running govulncheck before:

govulncheck ./...
=== Symbol Results ===

Vulnerability #1: GO-2025-3595
    Incorrect Neutralization of Input During Web Page Generation in x/net in
    golang.org/x/net
  More info: https://pkg.go.dev/vuln/GO-2025-3595
  Module: golang.org/x/net
    Found in: golang.org/x/net@v0.26.0
    Fixed in: golang.org/x/net@v0.38.0
    Example traces found:
      #1: sanitize.go:226:20: bluemonday.Policy.sanitize calls html.Tokenizer.Next

Your code is affected by 1 vulnerability from 1 module.
This scan also found 3 vulnerabilities in packages you import and 1
vulnerability in modules you require, but your code doesn't appear to call these
vulnerabilities.
Use '-show verbose' for more details.

After upgrading to golang.org/x/net@v0.38.0 and Go 1.23.0:

go install golang.org/x/vuln/cmd/govulncheck@latestgovulncheck ./...
=== Symbol Results ===

Vulnerability #1: GO-2025-4010
    Insufficient validation of bracketed IPv6 hostnames in net/url
  More info: https://pkg.go.dev/vuln/GO-2025-4010
  Standard library
    Found in: net/url@go1.23.12
    Fixed in: net/url@go1.24.8
    Example traces found:
Error:       #1: sanitize.go:583:36: bluemonday.Policy.sanitizeAttrs calls url.Parse

Your code is affected by 1 vulnerability from the Go standard library.
This scan also found 3 vulnerabilities in packages you import and 14
vulnerabilities in modules you require, but your code doesn't appear to call
these vulnerabilities.
Use '-show verbose' for more details.

After upgrading to golang.org/x/net@v0.45.0 and Go 1.24.0:

govulncheck ./...
No vulnerabilities found.

@alexandear alexandear force-pushed the chore/upgrade-net-package branch 2 times, most recently from e5c1ef8 to 1ae9cf8 Compare February 23, 2026 12:39
@alexandear alexandear changed the title Bump golang.org/x/net to v0.38.0 to fix vulnerability Bump golang.org/x/net to v0.45.0 to fix vulnerability Feb 23, 2026
@alexandear alexandear force-pushed the chore/upgrade-net-package branch 4 times, most recently from 9094216 to 14eefbb Compare February 23, 2026 12:41
@alexandear alexandear force-pushed the chore/upgrade-net-package branch from 14eefbb to 08028c1 Compare February 23, 2026 12:49
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