Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1nNjNoLXE4NTUtdnAzcc4AArtG

Configuration API in EdgeXFoundry 2.1.0 and earlier exposes message bus credentials to local unauthenticated users

Impact

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.

Patches

Users should upgrade to EdgeXFoundry Kamakura release (2.2.0) or to the June 2022 EdgeXFoundry LTS Jakarta release (2.1.1).

The issue has been patched in the following docker containers and snaps:

Patched go modules

github.com/edgexfoundry/device-sdk-go/v2 >= v2.1.1
github.com/edgexfoundry/app-functions-sdk-go/v2 >= v2.1.1

Patched docker containers

URL: https://hub.docker.com/r/edgexfoundry

Patched snaps

URL: https://snapcraft.io/edgexfoundry
edgexfoundry 2.1/stable (will be automatically upgraded to 2.1.1)

Workarounds

No workaround available.

References

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-g63h-q855-vp3q
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nNjNoLXE4NTUtdnAzcc4AArtG
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago


CVSS Score: 5.9
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Identifiers: GHSA-g63h-q855-vp3q, CVE-2022-31066
References: Repository: https://github.com/edgexfoundry/edgex-go
Blast Radius: 9.9

Affected Packages

go:github.com/edgexfoundry/app-functions-sdk-go/v2
Dependent packages: 6
Dependent repositories: 22
Downloads:
Affected Version Ranges: < 2.1.1
Fixed in: 2.1.1
All affected versions: 2.0.0, 2.0.1, 2.1.0
All unaffected versions: 2.1.1, 2.1.2, 2.2.0, 2.3.0, 2.3.1
go:github.com/edgexfoundry/device-sdk-go/v2
Dependent packages: 23
Dependent repositories: 48
Downloads:
Affected Version Ranges: < 2.1.1
Fixed in: 2.1.1
All affected versions: 2.0.0, 2.1.0
All unaffected versions: 2.1.1, 2.2.0, 2.3.0, 2.3.1