Remote Code Execution (RCE) Affecting reg-keygen-git-hash-plugin package, versions <0.10.16


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    1.38% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-REGKEYGENGITHASHPLUGIN-1300843
  • published 9 Jun 2021
  • disclosed 8 Jun 2021
  • credit Shunsuke Mano

How to fix?

Upgrade reg-keygen-git-hash-plugin to version 0.10.16 or higher.

Overview

reg-keygen-git-hash-plugin is a Detect the snapshot key to be compare with using Git hash.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). This was caused because shell strings were not escaped.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.8 high
  • Attack Vector (AV)
    Adjacent
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

9.8 critical