ADVISORIES

GitHub Advisory Database

GHSA-qjg4-w4c6-f6c6

Command injection in mversion

Details

Impact

This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input.

Patches

Patched by version 2.0.0. Previous releases are deprecated in npm.

Workarounds

Make sure to escape git commit messages when using the commitMessage option for the update function.

Affected packages

EcosystemPackageAffected versions
npmmversion
All versions before 2.0.0 (fixed in 2.0.0)

References