CVE-2021-21412[thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values
- 6.4MediumCVSS base score
- 1.3%Exploitation in 30 daysEPSS · top 28% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 3 months later
· 3 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.3% · top 28% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@thi.ng/egfGHSA-rj44-gpjc-29r7 (opens in a new tab)
References
References4
- https://github.com/thi-ng/umbrella/security/advisories/GHSA-rj44-gpjc-29r7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/thi-ng/umbrella/commit/88f61656e5f5cfba960013b8133186389efaf243 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/thi-ng/umbrella/blob/develop/packages/egf/CHANGELOG.md#040-2021-03-27 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.npmjs.com/package/%40thi.ng/egf (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0870 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rj44-gpjc-29r7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21412)Record last updated .