Code Monkey home page Code Monkey logo

Comments (2)

thomasvl avatar thomasvl commented on August 26, 2024

I'm having a hard time following what the issue is, and from the screen shot, it sounds like the core of the problem might lie is some other package that then calls GTMSessionFetcher. At it's core, GTMSessionFetcher, when downloading to a file, has to be told where to download too. If that fails, it needs to cleanup any partial download. GTMSessionFetcher does not require running with any escalated file system privileges, so the only things it can modify are what the parent app (that the developer control) is allowing access too.

From the look of the end of the report, it seems like it might be saying the data in question comes from "FCNUserDefaultsManager", that is not part of GTMSessionFetcher, so it sound like that might actually be where you are saying there is an issue. If that can be comprised, then anything it calls could be attacked, and there is nothing things it calls (like GTMSessionFetcher) can really do to recover from something already compromised on the system doing bad things. I'd suggest moving this issue to whatever component is responsible for that class.

from gtm-session-fetcher.

thomasvl avatar thomasvl commented on August 26, 2024

Actually, rereading the code on our end, the UploadFetcher only does a remove when it is using a temporary file, and the api points don't directly allow someone to control the selection of the temp file name - we use a UUID to generate the name and NSTemporaryDirectory() to get the directory.

from gtm-session-fetcher.

Related Issues (20)

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.