Comments (2)
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.
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)
- Build error due to missing platforms in the SPM manifest file HOT 6
- Crashed: com.google.GTMSessionFetcher.NSURLSessionDelegateQueue (QOS: UNSPECIFIED) HOT 1
- iOS 14.1 App getting terminated in background HOT 3
- +[GTMSessionUploadFetcher load] method takes too much time at app startup HOT 2
- If allow insecure request we don't need check security HOT 1
- Fetch
- _GTMBridgeAssertValidSelector build failure (GTMSessionFetcher 1.6.0) HOT 8
- [GTMSessionFetcherService] Allow decorating HTTP headers per request HOT 4
- Static Analysis nullability warning from Xcode 13.1
- `GTMFetcherAuthorizationProtocol` cannot be implemented in Swift
- Improve async/await support HOT 2
- Insecure API when using in React Native iOS app HOT 1
- Critical Severity Risk - Insecure Transport: Weak SSL Protocol HOT 1
- Critical Severity Risk - Privacy Violation HOT 1
- High Severity Risk - Insecure Storage: HTTP Response Cache Leak HOT 1
- GTMFetcherStandardUserAgentString() is slow
- -[GTMSessionFetcherServiceTest testThreadingStress] is flaky HOT 1
- Concurrency issue in GTMFetcherCleanedUserAgentString()
- iOS 17 New required reason API HOT 9
- ios17 incompatibility with Pod (flutter) HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtm-session-fetcher.