Giter VIP home page Giter VIP logo

Comments (9)

yarkeev avatar yarkeev commented on September 3, 2024 2

OK, convinced 🙂
Fix in master and in npm version 2.1.2
Thank you!

from git-interface.

yarkeev avatar yarkeev commented on September 3, 2024

Hey @JamieSlome!
I added the SECURITY.md file, and also looked at the report about the potential vulnerability.
The git-interface package itself does not have a CLI, it is a wrapper over git, and its use involves only programmatic connection.
Therefore, I think that if processing of such cases is added, then this should be done where user input takes place.
Everything that git allows you to do - everything should allow you to do git-interface.

from git-interface.

JamieSlome avatar JamieSlome commented on September 3, 2024

@yarkeev - thanks for your response 👍 Just for reference, the report can be found directly here:
https://huntr.dev/bounties/cdc25408-d3c1-4a9d-bb45-33b12a715ca1/

@lirantal - any thoughts on the above?

from git-interface.

lirantal avatar lirantal commented on September 3, 2024

Thanks for looking into it @yarkeev, and great update on the SECURITY.md file 👏🏽

I'm not sure why the reference or mention of a CLI related issue, because the report is about the API usage of git-interface as a library consumer (i.e: git.clone(arg1, arg2)). I understand why you'd defer for user input sanitization at the consuming user but given the function signature is documented to be repository, and destination, then users might not realize that input like in the report would be abused.

If you'd like to fix the potential security fix here then I also recommended in the report how to do that effectively.

from git-interface.

JamieSlome avatar JamieSlome commented on September 3, 2024

@yarkeev - are you able to confirm the fix on the report?

from git-interface.

yarkeev avatar yarkeev commented on September 3, 2024

@JamieSlome, done

from git-interface.

JamieSlome avatar JamieSlome commented on September 3, 2024

@yarkeev - are you happy for us to assign and publish a CVE for this report?

from git-interface.

yarkeev avatar yarkeev commented on September 3, 2024

@JamieSlome, I don't mind.

from git-interface.

JamieSlome avatar JamieSlome commented on September 3, 2024

@yarkeev - sorted (CVE-2022-1440) 👍

from git-interface.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.