Skip to content

chore(deps): update module golang.org/x/text to v0.39.0 [security] (release-3.1) - #144

Open
jaydip-gk-renovate-test[bot] wants to merge 1 commit into
release-3.1from
renovate/release-3.1-go-golang.org-x-text-vulnerability
Open

jaydip-gk-renovate-test[bot] wants to merge 1 commit into
release-3.1from
renovate/release-3.1-go-golang.org-x-text-vulnerability

Conversation

@jaydip-gk-renovate-test

Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
golang.org/x/text require minor v0.3.0v0.39.0
golang.org/x/text indirect minor v0.3.2v0.39.0
golang.org/x/text indirect minor v0.3.0v0.39.0

golang.org/x/text Infinite loop

CVE-2020-14040 / GHSA-5rcv-m4m3-hfh7 / GO-2020-0015

More information

Details

Go version v0.3.3 of the x/text package fixes a vulnerability in encoding/unicode that could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory. An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

Specific Go Packages Affected

golang.org/x/text/encoding/unicode
golang.org/x/text/transform

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C

References

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


Infinite loop when decoding some inputs in golang.org/x/text

CVE-2020-14040 / GHSA-5rcv-m4m3-hfh7 / GO-2020-0015

More information

Details

An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to transform.String. If used to parse user supplied input, this may be used as a denial of service vector.

Severity

Unknown

References

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


golang.org/x/text/language Out-of-bounds Read vulnerability

CVE-2021-38561 / GHSA-ppp9-7jff-5vj2 / GO-2021-0113

More information

Details

golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

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


Out-of-bounds read in golang.org/x/text/language

CVE-2021-38561 / GHSA-ppp9-7jff-5vj2 / GO-2021-0113

More information

Details

Due to improper index calculation, an incorrectly formatted language tag can cause Parse to panic via an out of bounds read. If Parse is used to process untrusted user inputs, this may be used as a vector for a denial of service attack.

Severity

Unknown

References

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


golang.org/x/text/language Denial of service via crafted Accept-Language header

CVE-2022-32149 / GHSA-69ch-w2m2-3vjp / GO-2022-1059

More information

Details

The BCP 47 tag parser has quadratic time complexity due to inherent aspects of its design. Since the parser is, by design, exposed to untrusted user input, this can be leveraged to force a program to consume significant time parsing Accept-Language headers. The parser cannot be easily rewritten to fix this behavior for various reasons. Instead the solution implemented in this CL is to limit the total complexity of tags passed into ParseAcceptLanguage by limiting the number of dashes in the string to 1000. This should be more than enough for the majority of real world use cases, where the number of tags being sent is likely to be in the single digits.

Specific Go Packages Affected

golang.org/x/text/language

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

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


Denial of service via crafted Accept-Language header in golang.org/x/text/language

CVE-2022-32149 / GHSA-69ch-w2m2-3vjp / GO-2022-1059

More information

Details

An attacker may cause a denial of service by crafting an Accept-Language header which ParseAcceptLanguage will take significant time to parse.

Severity

Unknown

References

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


Infinite loop on invalid input in golang.org/x/text

CVE-2026-56852 / GO-2026-5970

More information

Details

A norm.Iter can enter an infinite loop when handling input containing invalid UTF-8 bytes.

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 these updates again.


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

This PR has been generated by Mend Renovate CLI.

@jaydip-gk-renovate-test

Copy link
Copy Markdown
Author

ℹ️ Artifact update notice

File name: vendor/github.com/go-openapi/jsonreference/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 -> v0.56.0
go 1.13 -> 1.25.0
File name: vendor/go.opencensus.io/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 -> v0.0.0-20190702054246-869f871628b6
File name: vendor/google.golang.org/appengine/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 1 additional dependency was updated

Details:

Package Change
golang.org/x/net v0.0.0-20180724234803-3673e40ba225 -> v0.56.0

@jaydip-gk-renovate-test
jaydip-gk-renovate-test Bot force-pushed the renovate/release-3.1-go-golang.org-x-text-vulnerability branch from d024dcc to 149940a Compare September 7, 2026 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants