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

- Severity: Medium 5.4 (CVSS:3.0, scored by GitHub_M) `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-01)
- Published: 2021-11-18T23:50:11.000Z
- Modified: 2026-07-08T06:27:43.112Z
- Also known as: GHSA-6c7m-qwxj-mvhp
- Weaknesses: CWE-327
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- edgexfoundry app-functions-sdk-go: < 2.1.0
- github.com/edgexfoundry/app-functions-sdk-go/v2 (Go): before 2.1.0
- github.com/edgexfoundry/app-functions-sdk-go (Go): all versions
- github.com/edgexfoundry/app-service-configurable (Go): before 2.1.0
- edgexfoundry app_service_configurable: before 2.1.0
- edgexfoundry application_functions_software_development_kit: before 2.1.0
- edgexfoundry edgex_foundry: before 2.1.0

## Every score

- GitHub_M: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.0 5.4 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.6 Low `AV:N/AC:H/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/edgexfoundry/app-functions-sdk-go/security/advisories/GHSA-6c7m-qwxj-mvhp> (third-party-advisory, web)
- <https://github.com/edgexfoundry/app-functions-sdk-go/commit/8fa13c6388ce76a6b878b54490eac61aa7d81165> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41278> (advisory)
- <https://github.com/edgexfoundry/app-functions-sdk-go> (package)

## Sources

- CVE List: [CVE-2021-41278](https://www.cve.org/CVERecord?id=CVE-2021-41278), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-6c7m-qwxj-mvhp](https://github.com/advisories/GHSA-6c7m-qwxj-mvhp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-41278](https://nvd.nist.gov/vuln/detail/CVE-2021-41278), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41278 · Whole record: https://cve.day/CVE-2021-41278.json · Rebuilt by cve.day 2026-11-25T22:58:05.664Z
