Improper Access Control Affecting github.com/edgexfoundry/edgex-go/internal/core/data package, versions <2.2.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMEDGEXFOUNDRYEDGEXGOINTERNALCOREDATA-2870628
  • published15 Jun 2022
  • disclosed15 Jun 2022
  • creditbnevis-i

Introduced: 15 Jun 2022

CVE-2022-31066  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/edgexfoundry/edgex-go/internal/core/data to version 2.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control via the /api/v2/config endpoint, which allows the attacker to bypass the access controls on message bus credentials and expose the credentials when running in security-enabled mode. Exploiting this vulnerability allows attackers to intercept data or inject fake data into the EdgeX message bus.

CVSS Scores

version 3.1