CVE-2021-21412CWE-78

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

Medium · published March 30, 2021

CVSS v3.1
6.4
EPSS
1%
Percentile
71.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.01339 · 71.1th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2021-03-30T17:40Z
EPSS history
Timeline
  • 30 MAR 17:40Z
    [thi.ng/egf] Potential arbitrary code execution of `#gpg`-tagged property values
    cvelistv5