Remote Code Execution (RCE) Affecting @ifnotnowwhen/promptr package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.1% (44th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-IFNOTNOWWHENPROMPTR-8097224
  • published26 Sept 2024
  • disclosed25 Sept 2024
  • creditVulnSphere

Introduced: 25 Sep 2024

CVE-2024-46489  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for @ifnotnowwhen/promptr.

Overview

@ifnotnowwhen/promptr is a Promptr is a CLI tool that lets you use plain English to instruct GPT3 or GPT4 to make changes to your codebase.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to the possibility to load prompt/template file from the url. An attacker can set malicious command and the file in the user's server will be modified.

References

CVSS Scores

version 4.0
version 3.1