CVE Vulnerabilities


Missing Release of Resource after Effective Lifetime

Published: Oct 14, 2022 | Modified: Oct 18, 2022
CVSS 3.x
CVSS 2.x

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


The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.

Affected Software

Name Vendor Start Version End Version
Text Golang * *
Logging subsystem for Red Hat OpenShift 5.4 RedHat openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-300 *
OADP-1.0-RHEL-8 RedHat oadp/oadp-velero-rhel8:1.0.7-5 *
OpenShift Custom Metrics Autoscaler 2 RedHat custom-metrics-autoscaler-tech-preview/custom-metrics-autoscaler-rhel8:2.8.2-143 *
OpenShift Developer Tools and Services for OCP 4.9 RedHat ocp-tools-4/service-binding-operator-bundle:v1.3.1-7 *
OpenShift Developer Tools and Services for OCP 4.9 RedHat ocp-tools-4/service-binding-rhel8-operator:v1.3.1-5 *
OpenShift Logging 5.3 RedHat openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-302 *
Red Hat Advanced Cluster Management for Kubernetes 2.5 for RHEL 8 RedHat rhacm2/lighthouse-agent-rhel8:v0.12.3-1 *
Red Hat Advanced Cluster Management for Kubernetes 2.5 for RHEL 8 RedHat rhacm2/lighthouse-coredns-rhel8:v0.12.3-1 *
Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8 RedHat rhacm2/lighthouse-agent-rhel8:v0.13.3-7 *
Red Hat Migration Toolkit for Containers 1.7 RedHat rhmtc/openshift-migration-velero-rhel8:v1.7.7-5 *
RHEL-7-CNV-4.13 RedHat kubevirt-0:4.13.0-1469.el7 *
RHEL-8-CNV-4.13 RedHat kubevirt-0:4.13.0-1469.el8 *
RHEL-9-CNV-4.13 RedHat kubevirt-0:4.13.0-1469.el9 *
RHEL-9-CNV-4.13 RedHat container-native-virtualization/virt-api-rhel9:v4.13.0-358 *
RHOL-5.5-RHEL-8 RedHat openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-303 *
Golang-golang-x-text Ubuntu esm-apps/focal *
Golang-golang-x-text Ubuntu esm-apps/jammy *
Golang-golang-x-text Ubuntu focal *
Golang-golang-x-text Ubuntu jammy *
Golang-golang-x-text Ubuntu kinetic *
Golang-golang-x-text Ubuntu lunar *
Golang-golang-x-text Ubuntu trusty *
Golang-golang-x-text Ubuntu upstream *
Golang-golang-x-text Ubuntu xenial *
Golang-x-text Ubuntu bionic *
Golang-x-text Ubuntu esm-apps/bionic *
Golang-x-text Ubuntu esm-apps/focal *
Golang-x-text Ubuntu focal *
Golang-x-text Ubuntu xenial *

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
  • Use resource-limiting settings provided by the operating system or environment. For example, when managing system resources in POSIX, setrlimit() can be used to set limits for certain types of resources, and getrlimit() can determine how many resources are available. However, these functions are not available on all operating systems.
  • When the current levels get close to the maximum that is defined for the application (see CWE-770), then limit the allocation of further resources to privileged users; alternately, begin releasing resources for less-privileged users. While this mitigation may protect the system from attack, it will not necessarily stop attackers from adversely impacting other users.
  • Ensure that the application performs the appropriate error checks and error handling in case resources become unavailable (CWE-703).