-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix MitM vulnerability #2132
Fix MitM vulnerability #2132
Conversation
@andreidubov Looks like it broke bundle signature verification. Rollbacking to v7.0.1 works. When logging path of copied files, I noticed strange file paths, as if they are nested inside each other :
So I wonder if it is what you wanted, if so getSignatureFilePath needs to be tweaked because it looks like it only returns /data/user/0/XXX/files/CodePush/.codepushrelease . |
Mentioned here: #2141 |
Compare path with the target directory instead of “.”