CVE-2021-41278: EdgeX Foundry - Weak Cryptography
- Cve: CVE-2021-41278
- Name: EdgeX Foundry - Weak Cryptography
- 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.
- Impact: Attackers can decrypt messages encrypted with the broken 'aes' transform, potentially exposing sensitive data.
- Remediation: Upgrade to Jakarta release or later and replace 'aes' transform with the 'aes256' transform.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.7
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
- Epss score: 0.00362
- Epss percentile: 0.30654
- Assignee: [email protected]
- Published at: 2021-11-19T00:15:08Z
- Age in days: 1831
- Modified at: 2026-06-17T04:08:13Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41278
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-327 | Use of a Broken or Risky Cryptographic Algorithm |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/FDlucifer/CVE-2021-41278 | poc-in-github | 2021-11-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/edgexfoundry/app-functions-sdk-go/commit/8fa13c6388ce76a6b878b54490eac61aa7d81165 | nvd | Patch, Third Party Advisory |
| https://github.com/edgexfoundry/app-functions-sdk-go/security/advisories/GHSA-6c7m-qwxj-mvhp | nvd | Third Party Advisory |
Products
Same in every row:
- Affected: < 2.1.0
- Platform bound: no
- Sources: nvd
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| edgexfoundry/app-functions-sdk-go | commit, fix, package, security_advisory | yes | /v1/repositories/edgexfoundry/app-functions-sdk-go |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-11-22
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts