Read the docs
TI-2021-04510 Aliases CVE-2021-21412GHSA-rj44-gpjc-29r7

[thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values

Priority MEDIUM 41CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

EPSS 0.01339 71st percentileScored 2026-11-07
Fix Fixed egf (thi-ng): 0.4.0@thi.ng/egf (npm): 0.4.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
thi-ngegfbefore 0.4.00.4.0Patch availableCNA
—@thi.ng/egf (npm)before 0.4.00.4.0Patch availableGHSA-rj44-gpjc-29r7
  • egf Vendorthi-ng Affected before 0.4.0 Fixed in 0.4.0 Patch available CNA
  • @thi.ng/egf (npm) Vendor— Affected before 0.4.0 Fixed in 0.4.0 Patch available GHSA-rj44-gpjc-29r7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:\@thi.ng\/egf_project:\@thi.ng\/egf:*:*:*:*:*:node.js:*:*before 0.4.0Vulnerable@thi.ng/egf Project
  • cpe:2.3:a:\@thi.ng\/egf_project:\@thi.ng\/egf:*:*:*:*:*:node.js:*:* Versions before 0.4.0 Vulnerable ·@thi.ng/egf Project

Remediation

  • Fix · CNA egf (thi-ng) Fixed in 0.4.0
  • Fix · GHSA-rj44-gpjc-29r7 @thi.ng/egf (npm) Fixed in 0.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21412
  2. 2026-10-03 Alias added: GHSA-rj44-gpjc-29r7

References

Sources