Vulnerability · Published Jul 11, 2022 · Assigned by GitHub_M
CVE-2022-31073KubeEdge Edge ServiceBus module DoS
Medium 6.5
In plain English
A medium-severity uncontrolled resource consumption in kubeedge from kubeedge. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
KubeEdge is an open source system for extending native containerized application orchestration capabilities to hosts at Edge. Prior to versions 1.11.1, 1.10.2, and 1.9.4, the ServiceBus server on the edge side may be susceptible to a DoS attack if an HTTP request containing a very large Body is sent to it. It is possible for the node to be exhausted of memory. The consequence of the exhaustion is that other services on the node, e.g. other containers, will be unable to allocate memory and thus causing a denial of service. Malicious apps accidentally pulled by users on the host and have the access to send HTTP requests to localhost may make an attack. It will be affected only when users enable the `ServiceBus` module in the config file `edgecore.yaml`. This bug has been fixed in Kubeedge 1.11.1, 1.10.2, and 1.9.4. As a workaround, disable the `ServiceBus` module in the config file `edgecore.yaml`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kubeedge/kubeedge | 1.11.1 | GHSA-vwm6-qc77-v2rh |
| Go | github.com/kubeedge/kubeedge | 1.10.2 | GHSA-vwm6-qc77-v2rh |
| Go | github.com/kubeedge/kubeedge | 1.9.4 | GHSA-vwm6-qc77-v2rh |
| Go | github.com/kubeedge/kubeedge | 1.10.2, 1.11.1, 1.9.4 | GO-2022-0507 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/kubeedge/kubeedge/security/advisories/GHSA-vwm6-qc77-v2rh x_refsource_CONFIRM
- https://github.com/kubeedge/kubeedge/pull/4038 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/pull/4039 x_refsource_MISC
- https://github.com/kubeedge/kubeedge/pull/4042 x_refsource_MISC