CVE-2021-21412
published medium CVSS 3.1 · 6.4[thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thi-ng | — | egf< 0.4.0 | Affected | Not stated | GitHub_M |
Description
Potential for arbitrary code execution in npm package @thi.ng/egf `#gpg`-tagged property values (only if `decrypt: true` option is enabled). PR with patch has been submitted and will has been released as of v0.4.0 By default the EGF parse functions do NOT attempt to decrypt values (since GPG only available in non-browser env). However, if GPG encrypted values are used/required: 1. Perform a regex search for `#gpg`-tagged values in the EGF source file/string and check for backtick (\`) chars in the encrypted value string 2. Replace/remove them or skip parsing if present.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thi-ng | egf | < 0.4.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-78 {"CWE-78":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}
References
4Provider assertions
2GitHub_M · cna
[thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9b51162dd372a228d746827ffeccbed154514ee314305fc3de3828b7f1df6a21
- Ingested
- 23 Sep 2026, 07:52:31 UTC
- Source record
- Official CVE record