chore(deps): update module golang.org/x/net to v0.62.0 [security] #529

Open
botaniker wants to merge 1 commit from renovate/go-golang.org-x-net-vulnerability into main
Member

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
golang.org/x/net v0.60.0 → v0.62.0 age adoption passing confidence

Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net

CVE-2026-78661 / GO-2026-6860

More information

Details

When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (such as "a") caused O(n^2) allocations and byte copies.

Accumulate coalesced text in per-node byte slices during parsing and materialize Data strings once at the end of parse.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net

CVE-2026-97045 / GO-2026-6866

More information

Details

In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented into a foreign namespace (such as or fostered under ), causing a parser to resolve the subtree in a different foreign namespace upon re-parsing the rendered output.

Continue walking the full ancestor chain and verify that every transition from a non-empty namespace occurs at an HTML integration point before emitting literal text.

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [golang.org/x/net](https://pkg.go.dev/golang.org/x/net) | [`v0.60.0` → `v0.62.0`](https://cs.opensource.google/go/x/net/+/refs/tags/v0.60.0...refs/tags/v0.62.0) | ![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fnet/v0.62.0?slim=true) | ![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fnet/v0.62.0?slim=true) | ![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fnet/v0.60.0/v0.62.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fnet/v0.60.0/v0.62.0?slim=true) | --- ### Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net [CVE-2026-78661](https://nvd.nist.gov/vuln/detail/CVE-2026-78661) / [GO-2026-6860](https://pkg.go.dev/vuln/GO-2026-6860) <details> <summary>More information</summary> #### Details When coalescing adjacent text nodes in addText and fosterParent, appending to an existing TextNode's Data via string concatenation (n.Data += text) reallocated and copied the accumulated string on every token. Inputs containing many short text runs separated by ignored end tags (such as "a</x>") caused O(n^2) allocations and byte copies. Accumulate coalesced text in per-node byte slices during parsing and materialize Data strings once at the end of parse. #### Severity Unknown #### References - [https://go.dev/cl/849365](https://go.dev/cl/849365) - [https://go.dev/issue/82224](https://go.dev/issue/82224) - [https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs](https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs) This data is provided by [OSV](https://osv.dev/vulnerability/GO-2026-6860) and the [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license)). </details> --- ### Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net [CVE-2026-97045](https://nvd.nist.gov/vuln/detail/CVE-2026-97045) / [GO-2026-6866](https://pkg.go.dev/vuln/GO-2026-6866) <details> <summary>More information</summary> #### Details In childTextNodesAreLiteral, walking up the tree previously stopped at the nearest foreign ancestor once an HTML integration point was found. However, that integration point may itself be a descendant of an element that was foster-parented into a foreign namespace (such as <mglyph> or <malignmark> fostered under <mtext>), causing a parser to resolve the subtree in a different foreign namespace upon re-parsing the rendered output. Continue walking the full ancestor chain and verify that every transition from a non-empty namespace occurs at an HTML integration point before emitting literal text. #### Severity Unknown #### References - [https://go.dev/cl/855121](https://go.dev/cl/855121) - [https://go.dev/issue/82622](https://go.dev/issue/82622) - [https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs](https://groups.google.com/g/golang-announce/c/sqrs2vTx_Xs) This data is provided by [OSV](https://osv.dev/vulnerability/GO-2026-6866) and the [Go Vulnerability Database](https://github.com/golang/vulndb) ([CC-BY 4.0](https://github.com/golang/vulndb#license)). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). The local configuration can be found in the [SI Renovate Bot repository](https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/src/branch/main/apps/k8s01/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Mi44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJzZWN1cml0eSJdfQ==-->
chore(deps): update module golang.org/x/net to v0.62.0 [security]
Some checks failed
renovate/artifacts Artifact file update failure
gitops-images Pipeline completed successfully
go-lint Pipeline completed successfully
gitops-pr-validation Pipeline completed successfully
d9f5498e1c
Author
Member

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go/jellyfin-pdb-mgr/go.sum
[08:10:37.373] INFO (503): Installing tool golang@1.26.4...
[08:10:48.667] ERROR (503): download failed
    run: 3
    err: {
      "type": "HTTPError",
      "message": "Request failed with status code 504 (Gateway Time-out): GET https://github.com/containerbase/golang-prebuild/releases/download/1.26.4/golang-1.26.4-x86_64.tar.xz",
      "stack":
          HTTPError: Request failed with status code 504 (Gateway Time-out): GET https://github.com/containerbase/golang-prebuild/releases/download/1.26.4/golang-1.26.4-x86_64.tar.xz
              at Request._onResponseBase (file:///snapshot/dist/app/main-alGJL78h.js:36663:22)
              at Request._onResponse (file:///snapshot/dist/app/main-alGJL78h.js:36724:15)
              at ClientRequest.<anonymous> (file:///snapshot/dist/app/main-alGJL78h.js:36750:9)
              at ClientRequest.wrapper (node:events:639:12)
              at ClientRequest.emit (node:events:526:24)
              at ClientRequest.emit (node:domain:489:12)
              at HTTPParser.parserOnIncomingClient (node:_http_client:979:27)
              at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17)
              at TLSSocket.socketOnData (node:_http_client:814:22)
              at TLSSocket.emit (node:events:514:28)
      "name": "HTTPError",
      "code": "ERR_NON_2XX_3XX_RESPONSE",
      "timings": {
        "start": 1794211848657,
        "socket": 1794211848657,
        "lookup": 1794211848657,
        "connect": 1794211848657,
        "secureConnect": 1794211848657,
        "upload": 1794211848657,
        "response": 1794211848666,
        "end": 1794211848666,
        "phases": {
          "wait": 0,
          "dns": 16,
          "tcp": 12,
          "tls": 13,
          "request": 0,
          "firstByte": 9,
          "download": 0,
          "total": 9
        }
      },
      "options": {
        "agent": {},
        "decompress": true,
        "timeout": {},
        "prefixUrl": "",
        "ignoreInvalidCookies": false,
        "context": {},
        "hooks": {
          "init": [],
          "beforeRequest": [],
          "beforeError": [],
          "beforeRedirect": [],
          "beforeRetry": [],
          "beforeCache": [],
          "afterResponse": []
        },
        "followRedirect": true,
        "maxRedirects": 10,
        "throwHttpErrors": true,
        "username": "",
        "password": "",
        "http2": false,
        "allowGetBody": false,
        "allowAbsoluteUrls": true,
        "copyPipedHeaders": false,
        "headers": {
          "user-agent": "containerbase/14.57.1 node/24.22.2 (https://github.com/containerbase)",
          "accept-encoding": "gzip, deflate, br, zstd"
        },
        "methodRewriting": false,
        "retry": {
          "limit": 2,
          "methods": [
            "GET",
            "PUT",
            "HEAD",
            "DELETE",
            "OPTIONS",
            "TRACE"
          ],
          "statusCodes": [
            408,
            413,
            429,
            500,
            502,
            503,
            504,
            521,
            522,
            524
          ],
          "errorCodes": [
            "ETIMEDOUT",
            "ECONNRESET",
            "EADDRINUSE",
            "ECONNREFUSED",
            "EPIPE",
            "ENOTFOUND",
            "ENETUNREACH",
            "EAI_AGAIN"
          ],
          "backoffLimit": null,
          "noise": 100,
          "enforceRetryRules": true
        },
        "method": "GET",
        "cacheOptions": {},
        "https": {},
        "resolveBodyOnly": false,
        "isStream": true,
        "responseType": "text",
        "url": "https://github.com/containerbase/golang-prebuild/releases/download/1.26.4/golang-1.26.4-x86_64.tar.xz",
        "pagination": {
          "countLimit": null,
          "backoff": 0,
          "requestLimit": 10000,
          "stackAllItems": false
        },
        "setHost": true,
        "enableUnixSockets": false,
        "strictContentLength": true
      }
    }
[08:10:48.682] ERROR (503): download failed
[08:10:48.682] FATAL (503): Install tool golang failed in 11.3s.

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: go/jellyfin-pdb-mgr/go.sum ``` [08:10:37.373] INFO (503): Installing tool golang@1.26.4... [08:10:48.667] ERROR (503): download failed run: 3 err: { "type": "HTTPError", "message": "Request failed with status code 504 (Gateway Time-out): GET https://github.com/containerbase/golang-prebuild/releases/download/1.26.4/golang-1.26.4-x86_64.tar.xz", "stack": HTTPError: Request failed with status code 504 (Gateway Time-out): GET https://github.com/containerbase/golang-prebuild/releases/download/1.26.4/golang-1.26.4-x86_64.tar.xz at Request._onResponseBase (file:///snapshot/dist/app/main-alGJL78h.js:36663:22) at Request._onResponse (file:///snapshot/dist/app/main-alGJL78h.js:36724:15) at ClientRequest.<anonymous> (file:///snapshot/dist/app/main-alGJL78h.js:36750:9) at ClientRequest.wrapper (node:events:639:12) at ClientRequest.emit (node:events:526:24) at ClientRequest.emit (node:domain:489:12) at HTTPParser.parserOnIncomingClient (node:_http_client:979:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:125:17) at TLSSocket.socketOnData (node:_http_client:814:22) at TLSSocket.emit (node:events:514:28) "name": "HTTPError", "code": "ERR_NON_2XX_3XX_RESPONSE", "timings": { "start": 1794211848657, "socket": 1794211848657, "lookup": 1794211848657, "connect": 1794211848657, "secureConnect": 1794211848657, "upload": 1794211848657, "response": 1794211848666, "end": 1794211848666, "phases": { "wait": 0, "dns": 16, "tcp": 12, "tls": 13, "request": 0, "firstByte": 9, "download": 0, "total": 9 } }, "options": { "agent": {}, "decompress": true, "timeout": {}, "prefixUrl": "", "ignoreInvalidCookies": false, "context": {}, "hooks": { "init": [], "beforeRequest": [], "beforeError": [], "beforeRedirect": [], "beforeRetry": [], "beforeCache": [], "afterResponse": [] }, "followRedirect": true, "maxRedirects": 10, "throwHttpErrors": true, "username": "", "password": "", "http2": false, "allowGetBody": false, "allowAbsoluteUrls": true, "copyPipedHeaders": false, "headers": { "user-agent": "containerbase/14.57.1 node/24.22.2 (https://github.com/containerbase)", "accept-encoding": "gzip, deflate, br, zstd" }, "methodRewriting": false, "retry": { "limit": 2, "methods": [ "GET", "PUT", "HEAD", "DELETE", "OPTIONS", "TRACE" ], "statusCodes": [ 408, 413, 429, 500, 502, 503, 504, 521, 522, 524 ], "errorCodes": [ "ETIMEDOUT", "ECONNRESET", "EADDRINUSE", "ECONNREFUSED", "EPIPE", "ENOTFOUND", "ENETUNREACH", "EAI_AGAIN" ], "backoffLimit": null, "noise": 100, "enforceRetryRules": true }, "method": "GET", "cacheOptions": {}, "https": {}, "resolveBodyOnly": false, "isStream": true, "responseType": "text", "url": "https://github.com/containerbase/golang-prebuild/releases/download/1.26.4/golang-1.26.4-x86_64.tar.xz", "pagination": { "countLimit": null, "backoff": 0, "requestLimit": 10000, "stackAllItems": false }, "setHost": true, "enableUnixSockets": false, "strictContentLength": true } } [08:10:48.682] ERROR (503): download failed [08:10:48.682] FATAL (503): Install tool golang failed in 11.3s. ```
Some checks failed
renovate/artifacts Artifact file update failure
gitops-images Pipeline completed successfully
Required
Details
go-lint Pipeline completed successfully
gitops-pr-validation Pipeline completed successfully
Required
Details
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/go-golang.org-x-net-vulnerability:renovate/go-golang.org-x-net-vulnerability'
git switch 'renovate/go-golang.org-x-net-vulnerability'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
shivering-isles/infrastructure-gitops!529
No description provided.