All CVEs / @thi.ng/egf Project
CVE-2021-21412@thi.ng/egf Project @thi.ng/egf
High 8.8
Follow: this CVE · @thi.ng/egf Project · @thi.ng/egf Project @thi.ng/egf We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- Yes
- Published
- Mar 30, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for @thi.ng/egf.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @thi.ng/egf |
< 0.4.0 |
0.4.0 |
npm install @thi.ng/egf@0.4.0 |
Per OSV / GitHub Advisories (GHSA-rj44-gpjc-29r7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| @thi.ng/egf_project | @thi.ng/egf | < 0.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- www.npmjs.com