{"id":"CVE-2022-31066","published":"2022-06-14T21:55:11Z","modified":"2025-04-23T18:15:12Z","title":"Configuration API in EdgeXFoundry exposes message bus credentials to local unauthenticated users","vendor":"edgexfoundry","product":"edgex-go","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00376,"percentile":0.23508,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/edgexfoundry/device-sdk-go/pull/1161","tags":["x_refsource_MISC"]},{"url":"https://github.com/edgexfoundry/edgex-go/pull/4016","tags":["x_refsource_MISC"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":4.7},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"edgexfoundry","affectedVersions":[{"vendor":"edgexfoundry","product":"edgex-go","versions":["< 2.1.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:05:10.821695Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go/v2","vulnerableRanges":["<2.1.1"],"patched":["2.1.1"],"from":["GHSA-g63h-q855-vp3q","GO-2022-0491"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go/v2","vulnerableRanges":["<2.1.1"],"patched":["2.1.1"],"from":["GHSA-g63h-q855-vp3q","GO-2022-0491"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-0491"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-0491"],"provenance":"source"}],"summary":{"text":"EdgeXFoundry's edgex-go configuration API endpoint /api/v2/config exposes message bus credentials, which are meant to be held in the EdgeX secret store behind authentication. An attacker with local access and no authentication can obtain those credentials when the system runs in security-enabled mode, and could then intercept or inject data on the EdgeX message bus.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:42Z"},"euvd":{"id":"EUVD-2022-6047","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-41278","published":"2021-11-18","fixed":"2.1.0","kev":false,"link":{"from":"CVE-2021-41278","to":"CVE-2022-31066","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/edgexfoundry/app-functions-sdk-go/v2","fromFixed":"2.1.0","toFixed":"2.1.1","daysApart":208}]}},{"cve":"CVE-2022-31066","published":"2022-06-14","fixed":"2.1.1","kev":false}],"package":"Go:github.com/edgexfoundry/app-functions-sdk-go/v2"}}