Vulnerability · Published Jun 14, 2022 · Assigned by GitHub_M
CVE-2022-31066Configuration API in EdgeXFoundry exposes message bus credentials to local unauthenticated users
Medium 5.9
In plain English
A medium-severity information exposure in edgex-go from edgexfoundry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
EdgeX Foundry is an open source project for building a common open framework for Internet of Things edge computing. Prior to version 2.1.1, the /api/v2/config endpoint exposes message bus credentials to local unauthenticated users. In security-enabled mode, message bus credentials are supposed to be kept in the EdgeX secret store and require authentication to access. This vulnerability bypasses the access controls on message bus credentials when running in security-enabled mode. (No credentials are required when running in security-disabled mode.) As a result, attackers could intercept data or inject fake data into the EdgeX message bus. Users should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1) to receive a patch. More information about which go modules, docker containers, and snaps contain patches is available in the GitHub Security Advisory. There are currently no known workarounds for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/edgexfoundry/app-functions-sdk-go | no fix listed | GO-2022-0491 |
| Go | github.com/edgexfoundry/app-functions-sdk-go/v2 | 2.1.1 | GHSA-g63h-q855-vp3q |
| Go | github.com/edgexfoundry/app-functions-sdk-go/v2 | 2.1.1 | GO-2022-0491 |
| Go | github.com/edgexfoundry/device-sdk-go | no fix listed | GO-2022-0491 |
| Go | github.com/edgexfoundry/device-sdk-go/v2 | 2.1.1 | GHSA-g63h-q855-vp3q |
| Go | github.com/edgexfoundry/device-sdk-go/v2 | 2.1.1 | GO-2022-0491 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| edgexfoundry | edgex-go | < 2.1.1 |
Weakness: CWE-200 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q x_refsource_CONFIRM
- https://github.com/edgexfoundry/device-sdk-go/pull/1161 x_refsource_MISC
- https://github.com/edgexfoundry/edgex-go/pull/4016 x_refsource_MISC