CVE-2022-32149
Public on
Last Modified:
Description
A vulnerability was found in the golang.org/x/text/language package. An attacker can craft an Accept-Language header which ParseAcceptLanguage will take significant time to parse. This issue leads to a denial of service, and can impact availability.
Statement
After careful analysis of the vulnerability Redhat is choosing to keep the vulnerability severity as moderate,the vulnerability exists in the ParseAcceptLanguage function of the golang text/language package,when an attacker could craft an unusually large accept header and due to the parser taking quadratic time complexity to finish, firstly the attacker would have to find a way smuggle an input to the parser and even then this would simply not result in a crash of any kind but more of resource hang which while can be unpleasant,does not equate to any real world damage.
Additional Information
- This content is not included.Bugzilla 2134010: golang: golang.org/x/text/language: ParseAcceptLanguage takes a long time to parse complex tags
- Content from cwe.mitre.org is not included.CWE-407: Inefficient Algorithmic Complexity
- FAQ: Frequently asked questions about CVE-2022-32149
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2022-32149
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2022-32149
Content from go.dev is not included.https://go.dev/issue/56152
Content from groups.google.com is not included.https://groups.google.com/g/golang-dev/c/qfPIly0X7aU
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Logging subsystem for Red Hat OpenShift 5.4 | openshift-logging/elasticsearch-proxy-rhel8 | Fixed | RHSA-2022:7435 |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-api-rhel8 | Not affected | |
| OADP-1.0-RHEL-8 | oadp/oadp-velero-rhel8 | Fixed | RHSA-2023:0692 |
| OpenShift Custom Metrics Autoscaler 2 | custom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8 | Fixed | RHSA-2023:1042 |
| OpenShift Developer Tools and Services | odo | Will not fix | |
| OpenShift Developer Tools and Services for OCP 4.9 | ocp-tools-4/service-binding-operator-bundle | Fixed | RHSA-2022:7407 |
| OpenShift Developer Tools and Services for OCP 4.9 | ocp-tools-4/service-binding-rhel8-operator | Fixed | RHSA-2022:7407 |
| OpenShift Logging 5.3 | openshift-logging/elasticsearch-proxy-rhel8 | Fixed | RHSA-2022:6882 |
| OpenShift Service Mesh 2 | openshift-golang-builder-container | Will not fix | |
| RHEL-7-CNV-4.13 | kubevirt | Fixed | RHSA-2023:3204 |
| RHEL-8-CNV-4.13 | kubevirt | Fixed | RHSA-2023:3204 |
| RHEL-9-CNV-4.13 | kubevirt | Fixed | RHSA-2023:3204 |
| RHEL-9-CNV-4.13 | container-native-virtualization/virt-api-rhel9 | Fixed | RHSA-2023:3205 |
| RHOL-5.5-RHEL-8 | openshift-logging/elasticsearch-proxy-rhel8 | Fixed | RHSA-2022:7434 |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/lighthouse-agent-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/lighthouse-coredns-rhel9 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-cluster-proxy-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-search-indexer-rhel9 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acm-search-v2-api-rhel9 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/acmesolver-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/agent-service-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/assisted-installer-agent-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/assisted-installer-reporter-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/assisted-installer-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/cainjector-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/cert-manager-controller-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/cert-manager-webhook-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/config-policy-controller-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/discovery-rhel8-operator | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/gatekeeper-rhel8-operator | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/governance-policy-propagator-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multiclusterhub-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/registration-rhel8-operator | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/subctl-rhel9 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-addon-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-gateway-rhel9 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-globalnet-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-networkplugin-syncer-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-rhel8-operator | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/submariner-route-agent-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/thanos-rhel9 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/work-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Security 3 | advanced-cluster-security/rhacs-main-rhel8 | Not affected | |
| Red Hat Ceph Storage 3 | golang | Out of support scope | |
| Red Hat Enterprise Linux 8 | container-tools:3.0/podman | Affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/podman | Affected | |
| Red Hat Enterprise Linux 8 | container-tools:rhel8/podman | Affected | |
| Red Hat Enterprise Linux 8 | osbuild-composer | Will not fix | |
| Red Hat Enterprise Linux 8.6 Extended Update Support | container-tools:rhel8 | Fixed | RHSA-2024:1994 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | container-tools:rhel8 | Fixed | RHSA-2024:2077 |
| Red Hat Enterprise Linux 9 | osbuild-composer | Will not fix | |
| Red Hat Enterprise Linux 9 | podman | Will not fix | |
| Red Hat Migration Toolkit for Containers 1.7 | rhmtc/openshift-migration-velero-rhel8 | Fixed | RHSA-2023:0693 |
| Red Hat OpenShift Container Platform 3.11 | ansible-service-broker | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-enterprise-service-catalog | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-descheduler | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-dockerregistry | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-service-idler | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-web-console | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | openshift-enterprise-autoheal | Will not fix | |
| Red Hat OpenShift Container Platform 3.11 | openshift-enterprise-cluster-capacity | Will not fix | |
| Red Hat OpenShift Container Platform 4 | cri-o | Not affected | |
| Red Hat OpenShift Container Platform 4 | cri-tools | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift-golang-builder-container | Not affected | |
| Red Hat OpenShift Container Platform 4 | atomic-openshift-service-idler | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift | Will not fix | |
| Red Hat OpenShift Container Platform 4.12 | podman | Fixed | RHSA-2023:3613 |
| Red Hat OpenShift Container Platform Assisted Installer 1 | rhai-tech-preview/assisted-installer-rhel8 | Affected | |
| Red Hat Openshift Data Foundation 4 | odf4/cephcsi-rhel9 | Affected | |
| Red Hat Quay 3 | quay/clair-rhel8 | Affected | |
| Red Hat Storage 3 | go-toolset-7-golang | Out of support scope | |
| Red Hat Storage 3 | golang | Out of support scope | |
| Self Node Remediation Operator | workload-availability/self-node-remediation-rhel8-operator | Affected |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 7.5 | 7.5 |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | None | None |
| Integrity Impact | None | None |
| Availability Impact | High | High |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.