{"cve":"CVE-2021-21412","nvd":{"published":"2021-03-30T18:15:15.840","modified":"2026-06-17T03:35:31.487","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-78"],"references":["https://github.com/thi-ng/umbrella/blob/develop/packages/egf/CHANGELOG.md#040-2021-03-27","https://github.com/thi-ng/umbrella/commit/88f61656e5f5cfba960013b8133186389efaf243","https://github.com/thi-ng/umbrella/security/advisories/GHSA-rj44-gpjc-29r7","https://www.npmjs.com/package/%40thi.ng/egf","https://github.com/thi-ng/umbrella/blob/develop/packages/egf/CHANGELOG.md#040-2021-03-27"],"products":["\\@thi.ng\\/egf_project:\\@thi.ng\\/egf"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-21412","score":0.01339,"percentile":0.71306,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-rj44-gpjc-29r7","url":"https://osv.dev/vulnerability/GHSA-rj44-gpjc-29r7","summary":"[thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values","modified":"2026-07-08T06:29:39.326519201Z","packages":[{"ecosystem":"npm","name":"@thi.ng/egf","purl":"pkg:npm/%40thi.ng/egf","ranges":["<0.4.0"],"fixed":["0.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}