​
DirectorySecurity Advisories
Sign In
Security Advisories

CGA-87mj-wfr7-vpvw

Published

Last updated

https://images.chainguard.dev/security/CGA-87mj-wfr7-vpvw
Package

dynamic-localpv-provisioner-fips

Latest Update
Fixed
Fixed Version

3.5.0-r0

Aliases
  • CVE-2022-32149
  • GHSA-69ch-w2m2-3vjp

Severity

7.5

High

CVSS V3

Summary

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

Description

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

References

Updates


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images