Skip to content

fix: upgrade golang.org/x/text v0.3.7 → v0.3.8 (CVE-2022-32149)#24

Draft
al1dazzi with Copilot wants to merge 2 commits into
mainfrom
copilot/rch-task-2b5fcc911c50059a
Draft

fix: upgrade golang.org/x/text v0.3.7 → v0.3.8 (CVE-2022-32149)#24
al1dazzi with Copilot wants to merge 2 commits into
mainfrom
copilot/rch-task-2b5fcc911c50059a

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown

golang.org/x/text@v0.3.7 is vulnerable to denial-of-service via crafted Accept-Language headers (CVE-2022-32149 / GHSA-69ch-w2m2-3vjp). The ParseLanguage handler calls language.Parse(), making this reachable in production.

Changes

  • go.mod — bumps golang.org/x/text from v0.3.7 to v0.3.8 (first patched release)
  • go.sum — updated hashes to match v0.3.8

Route-level allowlist guard (safety.AllowedLanguageTag) is unchanged.

…-2022-32149

Upgrades golang.org/x/text to v0.3.8 which fixes the denial-of-service
vulnerability (CVE-2022-32149 / GHSA-69ch-w2m2-3vjp) in the language
tag parsing code exercised by the ParseLanguage handler.

Fixes RCH-RULE-4c957bd8
Copilot AI changed the title [WIP] Remediate vulnerable dependency golang.org/x/text@v0.3.7 fix: upgrade golang.org/x/text v0.3.7 → v0.3.8 (CVE-2022-32149) Jun 22, 2026
Copilot AI requested a review from al1dazzi June 22, 2026 19:41
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.

2 participants