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
Conversation
Author
ℹ️ Artifact update noticeFile name: vendor/github.com/go-openapi/jsonreference/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: vendor/go.opencensus.io/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: vendor/google.golang.org/appengine/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
jaydip-gk-renovate-test
Bot
force-pushed
the
renovate/release-3.1-go-golang.org-x-text-vulnerability
branch
from
September 7, 2026 14:15
d024dcc to
149940a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.3.0→v0.39.0v0.3.2→v0.39.0v0.3.0→v0.39.0golang.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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:CReferences
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
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)
🚦 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.
This PR has been generated by Mend Renovate CLI.