Configuration API in EdgeXFoundry exposes message bus credentials to local unauthenticated users
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/edgexfoundry/device-sdk-go/v2Go | < 2.1.1 | 2.1.1 |
github.com/edgexfoundry/app-functions-sdk-go/v2Go | < 2.1.1 | 2.1.1 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/edgexfoundry/app-functions-sdk-go/v2pkg:golang/github.com/edgexfoundry/device-sdk-go/v2
< 2.1.1+ 1 more
- (no CPE)range: < 2.1.1
- (no CPE)range: < 2.1.1
- edgexfoundry/edgex-gov5Range: < 2.1.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-g63h-q855-vp3qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-31066ghsaADVISORY
- github.com/edgexfoundry/device-sdk-go/pull/1161ghsax_refsource_MISCWEB
- github.com/edgexfoundry/edgex-go/pull/4016ghsax_refsource_MISCWEB
- github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3qghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.