We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The call to const json = JSON.parse(jsonB64); in line 19 is done before the verification of the data in if (result) in line 30
const json = JSON.parse(jsonB64);
if (result)
hamagen-react-native/src/services/SigningService.ts
Lines 19 to 34 in 14dd43b
fix: call to JSON.parse only if verification successful (line 31 inside the if (result) block)
The text was updated successfully, but these errors were encountered:
Fixed at c2cfc6f
Sorry, something went wrong.
No branches or pull requests
The call to
const json = JSON.parse(jsonB64);
in line 19 is done before the verification of the data inif (result)
in line 30hamagen-react-native/src/services/SigningService.ts
Lines 19 to 34 in 14dd43b
thus even not verified data will be passed to JSON.parse (which can be invalid or try to trigger DOS/other attacks)
fix:
call to JSON.parse only if verification successful (line 31 inside the
if (result)
block)The text was updated successfully, but these errors were encountered: