{"id":"CVE-2022-31066","aliases":["EUVD-2022-6047","GHSA-g63h-q855-vp3q","GO-2022-0491"],"status":"published","title":"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.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0032,"percentile":0.25335,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2022-06-14T21:55:11Z","modified":"2026-10-28T02:30:35Z","fixes":[{"ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go/v2","fixed_in":["2.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go/v2","fixed_in":["2.1.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]},{"source":"ghsa","ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go/v2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/edgexfoundry/app-functions-sdk-go/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/edgexfoundry/device-sdk-go/v2","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.1.1"}]}]}],"products":[{"vendor":"edgexfoundry","product":"edgex-go"},{"vendor":"edgexfoundry","product":"edgex_foundry"}],"references":[{"url":"https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/edgexfoundry/device-sdk-go/pull/1161","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/edgexfoundry/edgex-go/pull/4016","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31066","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-g63h-q855-vp3q"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31066.json","tags":["advisory"]},{"url":"https://github.com/edgexfoundry/edgex-go","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-31066","title":"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.","status":"published","published":"2022-06-14T21:55:11Z","modified":"2025-04-23T18:15:12.447Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:34:35.279735Z"}],"euvd":[{"id":"EUVD-2022-6047","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.","status":"published","published":"2022-06-14T21:55:11Z","modified":"2025-04-23T18:15:12Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:52:09.387599Z"}],"ghsa":[{"id":"GHSA-g63h-q855-vp3q","title":"Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users","description":"### Impact\nThe /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.\n\n### Patches\nUsers should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1).\n\nThe issue has been patched in the following docker containers and snaps:\n\n#### Patched go modules\ngithub.com/edgexfoundry/device-sdk-go/v2 \u003e= v2.1.1\ngithub.com/edgexfoundry/app-functions-sdk-go/v2 \u003e= v2.1.1\n\n#### Patched docker containers\nURL: https://hub.docker.com/r/edgexfoundry\n- docker.io/edgexfoundry/core-metadata:\u003e=2.1.1\n- docker.io/edgexfoundry/core-metadata-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/core-data:\u003e=2.1.1\n- docker.io/edgexfoundry/core-data-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/core-command:\u003e=2.1.1\n- docker.io/edgexfoundry/core-command-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/support-notifications:\u003e=2.1.1\n- docker.io/edgexfoundry/support-notifications-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/support-scheduler:\u003e=2.1.1\n- docker.io/edgexfoundry/support-scheduler-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/sys-mgmt-agent:\u003e=2.1.1\n- docker.io/edgexfoundry/sys-mgmt-agent-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/security-proxy-setup:\u003e=2.1.1\n- docker.io/edgexfoundry/security-proxy-setup-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/security-secretstore-setup:\u003e=2.1.1\n- docker.io/edgexfoundry/security-secretstore-setup-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/security-bootstrapper:\u003e=2.1.1\n- docker.io/edgexfoundry/security-bootstrapper-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/app-rfid-llrp-inventory:\u003e=2.1.1\n- docker.io/edgexfoundry/app-rfid-llrp-inventory-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/app-service-configurable:\u003e=2.1.1\n- docker.io/edgexfoundry/app-service-configurable-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-camera:\u003e=2.2.0\n- docker.io/edgexfoundry/device-camera-arm64:\u003e=2.2.0\n- docker.io/edgexfoundry/device-gpio:\u003e=2.1.1\n- docker.io/edgexfoundry/device-gpio-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-modbus:\u003e=2.1.1\n- docker.io/edgexfoundry/device-modbus-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-mqtt:\u003e=2.1.1\n- docker.io/edgexfoundry/device-mqtt-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rest:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rest-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rfid-llrp:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rfid-llrp-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-snmp:\u003e=2.1.1\n- docker.io/edgexfoundry/device-snmp-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-virtual:\u003e=2.1.1\n- docker.io/edgexfoundry/device-virtual-arm64:\u003e=2.1.1\n\n#### Patched snaps\nURL: https://snapcraft.io/edgexfoundry\nedgexfoundry  2.1/stable  (will be automatically upgraded to 2.1.1)\n\n### Workarounds\nNo workaround available.\n\n### References\n* https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q\n* https://github.com/edgexfoundry/device-sdk-go/pull/1161 (patch against Kamakura)\n* https://github.com/edgexfoundry/edgex-go/pull/4016 (patch against Kamakura)\n* https://github.com/edgexfoundry/edgex-go/pull/4039 (cherry-pick patch against Jakarta)\n* https://github.com/edgexfoundry/device-sdk-go/pull/1167 (differs from patch on main: don't copy PW in vs delete it after)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact us in the [Slack #security channel](https://slack.edgexfoundry.org/)\n* Open an issue in [edgex-go](https://github.com/edgexfoundry/edgex-go)\n* Email us at [EdgeX-TSC-Security@lists.edgexfoundry.org](mailto:EdgeX-TSC-Security@lists.edgexfoundry.org)\n","status":"published","published":"2022-06-17T01:11:42Z","modified":"2023-01-27T05:04:31Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:36:20.985872Z"}],"nvd":[{"id":"CVE-2022-31066","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.","status":"published","published":"2022-06-14T22:15:10.38Z","modified":"2026-06-17T04:44:43.48Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:07:22.232533Z"}],"osv":[{"id":"CVE-2022-31066","title":"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.","status":"published","published":"2022-06-14T21:55:11Z","modified":"2026-10-28T02:30:35.482423139Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:44:25.516981Z"},{"id":"GHSA-g63h-q855-vp3q","title":"Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users","description":"### Impact\nThe /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.\n\n### Patches\nUsers should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1).\n\nThe issue has been patched in the following docker containers and snaps:\n\n#### Patched go modules\ngithub.com/edgexfoundry/device-sdk-go/v2 \u003e= v2.1.1\ngithub.com/edgexfoundry/app-functions-sdk-go/v2 \u003e= v2.1.1\n\n#### Patched docker containers\nURL: https://hub.docker.com/r/edgexfoundry\n- docker.io/edgexfoundry/core-metadata:\u003e=2.1.1\n- docker.io/edgexfoundry/core-metadata-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/core-data:\u003e=2.1.1\n- docker.io/edgexfoundry/core-data-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/core-command:\u003e=2.1.1\n- docker.io/edgexfoundry/core-command-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/support-notifications:\u003e=2.1.1\n- docker.io/edgexfoundry/support-notifications-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/support-scheduler:\u003e=2.1.1\n- docker.io/edgexfoundry/support-scheduler-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/sys-mgmt-agent:\u003e=2.1.1\n- docker.io/edgexfoundry/sys-mgmt-agent-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/security-proxy-setup:\u003e=2.1.1\n- docker.io/edgexfoundry/security-proxy-setup-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/security-secretstore-setup:\u003e=2.1.1\n- docker.io/edgexfoundry/security-secretstore-setup-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/security-bootstrapper:\u003e=2.1.1\n- docker.io/edgexfoundry/security-bootstrapper-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/app-rfid-llrp-inventory:\u003e=2.1.1\n- docker.io/edgexfoundry/app-rfid-llrp-inventory-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/app-service-configurable:\u003e=2.1.1\n- docker.io/edgexfoundry/app-service-configurable-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-camera:\u003e=2.2.0\n- docker.io/edgexfoundry/device-camera-arm64:\u003e=2.2.0\n- docker.io/edgexfoundry/device-gpio:\u003e=2.1.1\n- docker.io/edgexfoundry/device-gpio-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-modbus:\u003e=2.1.1\n- docker.io/edgexfoundry/device-modbus-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-mqtt:\u003e=2.1.1\n- docker.io/edgexfoundry/device-mqtt-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rest:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rest-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rfid-llrp:\u003e=2.1.1\n- docker.io/edgexfoundry/device-rfid-llrp-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-snmp:\u003e=2.1.1\n- docker.io/edgexfoundry/device-snmp-arm64:\u003e=2.1.1\n- docker.io/edgexfoundry/device-virtual:\u003e=2.1.1\n- docker.io/edgexfoundry/device-virtual-arm64:\u003e=2.1.1\n\n#### Patched snaps\nURL: https://snapcraft.io/edgexfoundry\nedgexfoundry  2.1/stable  (will be automatically upgraded to 2.1.1)\n\n### Workarounds\nNo workaround available.\n\n### References\n* https://github.com/edgexfoundry/edgex-go/security/advisories/GHSA-g63h-q855-vp3q\n* https://github.com/edgexfoundry/device-sdk-go/pull/1161 (patch against Kamakura)\n* https://github.com/edgexfoundry/edgex-go/pull/4016 (patch against Kamakura)\n* https://github.com/edgexfoundry/edgex-go/pull/4039 (cherry-pick patch against Jakarta)\n* https://github.com/edgexfoundry/device-sdk-go/pull/1167 (differs from patch on main: don't copy PW in vs delete it after)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact us in the [Slack #security channel](https://slack.edgexfoundry.org/)\n* Open an issue in [edgex-go](https://github.com/edgexfoundry/edgex-go)\n* Email us at [EdgeX-TSC-Security@lists.edgexfoundry.org](mailto:EdgeX-TSC-Security@lists.edgexfoundry.org)\n","status":"published","published":"2022-06-17T01:11:42Z","modified":"2024-08-21T15:41:53.625622Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:47.472172Z"},{"id":"GO-2022-0491","title":"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","description":"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","status":"published","published":"2024-08-21T15:11:33Z","modified":"2026-03-03T04:50:26.464809Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
