Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-41278

MEDIUM 5.4EPSS 30%

Broken encryption in app-functions-sdk “AES” transform in EdgeX Foundry releases prior to Jakarta allows attackers to decrypt messages via unspecified vectors

Also known as GHSA-6c7m-qwxj-mvhp

Mitigation

  • Upgrade github.com/edgexfoundry/app-functions-sdk-go/v2 to 2.1.0 or later.
  • Upgrade github.com/edgexfoundry/app-service-configurable to 2.1.0 or later.

Who should check

  • Projects that depend on Go package github.com/edgexfoundry/app-functions-sdk-go/v2 (< 2.1.0)
  • Projects that depend on Go package github.com/edgexfoundry/app-functions-sdk-go
  • Projects that depend on Go package github.com/edgexfoundry/app-service-configurable (< 2.1.0)
  • Anyone running edgexfoundry app-functions-sdk-go < 2.1.0

Vulnerability facts

Affected
github.com/edgexfoundry/app-functions-sdk-go/v2 < 2.1.0; github.com/edgexfoundry/app-functions-sdk-go; github.com/edgexfoundry/app-service-configurable < 2.1.0
Fixed in
2.1.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.4 (v3.0, CNA)CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.44% chance of exploitation in 30 days (percentile 30, 2026-11-26)
CWE
CWE-327
Published
Modified

Description

Functions SDK for EdgeX is meant to provide all the plumbing necessary for developers to get started in processing/transforming/exporting data out of the EdgeX IoT platform. In affected versions broken encryption in app-functions-sdk “AES” transform in EdgeX Foundry releases prior to Jakarta allows attackers to decrypt messages via unspecified vectors. The app-functions-sdk exports an “aes” transform that user scripts can optionally call to encrypt data in the processing pipeline. No decrypt function is provided. Encryption is not enabled by default, but if used, the level of protection may be less than the user may expects due to a broken implementation. Version v2.1.0 (EdgeX Foundry Jakarta release and later) of app-functions-sdk-go/v2 deprecates the “aes” transform and provides an improved “aes256” transform in its place. The broken implementation will remain in a deprecated state until it is removed in the next EdgeX major release to avoid breakage of existing software that depends on the broken implementation. As the broken transform is a library function that is not invoked by default, users who do not use the AES transform in their processing pipelines are unaffected. Those that are affected are urged to upgrade to the Jakarta EdgeX release and modify processing pipelines to use the new "aes256" transform.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/edgexfoundry/app-functions-sdk-go/v2< 2.1.02.1.0osv
Go github.com/edgexfoundry/app-functions-sdk-go——osv
Go github.com/edgexfoundry/app-service-configurable< 2.1.02.1.0osv
edgexfoundry app-functions-sdk-go< 2.1.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-41278. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-41278.md
Affected: github.com/edgexfoundry/app-functions-sdk-go/v2 < 2.1.0; github.com/edgexfoundry/app-functions-sdk-go; github.com/edgexfoundry/app-service-configurable < 2.1.0
Fixed in: 2.1.0

Steps:
1. Search this machine and project for github.com/edgexfoundry/app-functions-sdk-go/v2 (Go), github.com/edgexfoundry/app-functions-sdk-go (Go), github.com/edgexfoundry/app-service-configurable (Go), edgexfoundry app-functions-sdk-go: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-41278 being exploited?

There is no confirmed exploitation: CVE-2021-41278 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-41278?

Medium: CVSS 5.4 (v3.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2021-41278?

github.com/edgexfoundry/app-functions-sdk-go/v2 < 2.1.0; github.com/edgexfoundry/app-functions-sdk-go; github.com/edgexfoundry/app-service-configurable < 2.1.0.

Is there a fix for CVE-2021-41278?

Yes. Fixed in 2.1.0. Upgrade github.com/edgexfoundry/app-functions-sdk-go/v2 to 2.1.0 or later. Upgrade github.com/edgexfoundry/app-service-configurable to 2.1.0 or later.

How do I check if I'm affected by CVE-2021-41278?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors