{"cve":"CVE-2022-31066","nvd":{"published":"2022-06-14T22:15:10.380","modified":"2026-06-17T04:44:43.480","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.4},"cwes":["CWE-200"],"references":["https://github.com/edgexfoundry/device-sdk-go/pull/1161","https://github.com/edgexfoundry/edgex-go/pull/4016","https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q","https://github.com/edgexfoundry/device-sdk-go/pull/1161","https://github.com/edgexfoundry/edgex-go/pull/4016"],"products":["edgexfoundry:edgex_foundry"],"source":"nvd","synced_at":"2026-10-19T21:32:39.174919249+00:00"},"epss":{"cve":"CVE-2022-31066","score":0.00315,"percentile":0.24481,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g63h-q855-vp3q","url":"https://osv.dev/vulnerability/GHSA-g63h-q855-vp3q","summary":"Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users","modified":"2024-08-21T15:41:53.625622Z","packages":[{"ecosystem":"Go","name":"github.com/edgexfoundry/device-sdk-go/v2","purl":"pkg:golang/github.com/edgexfoundry/device-sdk-go/v2","ranges":["<2.1.1"],"fixed":["2.1.1"]},{"ecosystem":"Go","name":"github.com/edgexfoundry/app-functions-sdk-go/v2","purl":"pkg:golang/github.com/edgexfoundry/app-functions-sdk-go/v2","ranges":["<2.1.1"],"fixed":["2.1.1"]}]},{"id":"GO-2022-0491","url":"https://osv.dev/vulnerability/GO-2022-0491","summary":"Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users in github.com/edgexfoundry/app-functions-sdk-go","modified":"2026-03-03T04:50:26.464809Z","packages":[{"ecosystem":"Go","name":"github.com/edgexfoundry/app-functions-sdk-go","purl":"pkg:golang/github.com/edgexfoundry/app-functions-sdk-go","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/edgexfoundry/app-functions-sdk-go/v2","purl":"pkg:golang/github.com/edgexfoundry/app-functions-sdk-go/v2","ranges":["<2.1.1"],"fixed":["2.1.1"]},{"ecosystem":"Go","name":"github.com/edgexfoundry/device-sdk-go","purl":"pkg:golang/github.com/edgexfoundry/device-sdk-go","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/edgexfoundry/device-sdk-go/v2","purl":"pkg:golang/github.com/edgexfoundry/device-sdk-go/v2","ranges":["<2.1.1"],"fixed":["2.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}