{"cve":"CVE-2021-41278","nvd":{"published":"2021-11-19T00:15:08.017","modified":"2026-06-17T04:08:13.750","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","score":5.7},"cwes":["CWE-327"],"references":["https://github.com/edgexfoundry/app-functions-sdk-go/commit/8fa13c6388ce76a6b878b54490eac61aa7d81165","https://github.com/edgexfoundry/app-functions-sdk-go/security/advisories/GHSA-6c7m-qwxj-mvhp","https://github.com/edgexfoundry/app-functions-sdk-go/commit/8fa13c6388ce76a6b878b54490eac61aa7d81165","https://github.com/edgexfoundry/app-functions-sdk-go/security/advisories/GHSA-6c7m-qwxj-mvhp"],"products":["edgexfoundry:app_service_configurable","edgexfoundry:application_functions_software_development_kit","edgexfoundry:edgex_foundry"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-41278","score":0.00362,"percentile":0.30062,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6c7m-qwxj-mvhp","url":"https://osv.dev/vulnerability/GHSA-6c7m-qwxj-mvhp","summary":"Broken encryption in EdgeX Foundry","modified":"2026-07-08T06:27:43.112264222Z","packages":[{"ecosystem":"Go","name":"github.com/edgexfoundry/app-functions-sdk-go/v2","purl":"pkg:golang/github.com/edgexfoundry/app-functions-sdk-go/v2","ranges":["<2.1.0"],"fixed":["2.1.0"]},{"ecosystem":"Go","name":"github.com/edgexfoundry/app-functions-sdk-go","purl":"pkg:golang/github.com/edgexfoundry/app-functions-sdk-go","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/edgexfoundry/app-service-configurable","purl":"pkg:golang/github.com/edgexfoundry/app-service-configurable","ranges":["<2.1.0"],"fixed":["2.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}