CVE-2021-21412: Potential for arbitrary code execution in npm package @thi.ng/egf `#gpg`-tagged property values (only if `decr
CVE-2021-21412 is a medium-severity flaw (CVSS 6.4) affecting \@thi.ng\/egf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.3% (top 29%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2021-03-30 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-21412?
\@thi.ng\/egf: upgrade to 0.4.0. Exact commands for each OS are on this page.
Is CVE-2021-21412 being exploited?
CVE-2021-21412 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-21412 affect?
CVE-2021-21412 affects \@thi.ng\/egf. Severity is medium (CVSS 6.4). 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 f
How urgent is CVE-2021-21412?
Priority 40/100. No elevated risk signals yet.