CVE-2022-31066
MEDIUM 4.4CVSS 3.1Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users
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.
- Published
- 14 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-g63h-q855-vp3qGO-2022-0491
- Sources
- NVDJSONOSV GHSA-g63h-q855-vp3qJSONOSV GO-2022-0491JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.6 | AV:L/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | edgexfoundry | edgex_foundrycpe:2.3:a:edgexfoundry:edgex_foundry:*:*:*:*:*:*:*:* |
< 2.1.1 | 2.1.1 |
| OSV | Go | github.com/edgexfoundry/device-sdk-go/v2 | < 2.1.1 | 2.1.1 |
| OSV | Go | github.com/edgexfoundry/app-functions-sdk-go/v2 | < 2.1.1 | 2.1.1 |
| OSV | Go | github.com/edgexfoundry/app-functions-sdk-go | all versions | |
| OSV | Go | github.com/edgexfoundry/device-sdk-go | all versions |
References
- https://github.com/edgexfoundry/device-sdk-go/pull/1161 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/edgexfoundry/edgex-go/pull/4016 · Patch, Third Party Advisory, WEB
- https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-31066 · ADVISORY
- https://github.com/edgexfoundry/edgex-go · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Jun 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Jun 2022)