-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Snyk] Security upgrade onfido-sdk-ui from 13.6.1 to 14.15.0 #37075
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
@marcochavezf Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Requesting a C+ review here, since it's major change we'd want to ensure onfido is not broken for the flows where we add a bank account |
@@ -65,7 +65,7 @@ | |||
"lodash": "4.17.21", | |||
"lottie-react-native": "6.4.1", | |||
"mapbox-gl": "^2.15.0", | |||
"onfido-sdk-ui": "13.6.1", | |||
"onfido-sdk-ui": "^14.15.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcochavezf I see a conflict about the version in package.json and pack-lock.json
package.json: 14.15.0
package-lock.json: ^14.15.0
It doesn't cause any problem, but it's generally a good practice to keep the version specifications consistent between package.json and package-lock.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, good call. I agree with the consistency in versions
Thanks for the review @DylanDylann! Tested on web and onfido looks good, I added a bank account by following the instructions from the OP of this issue: Can you test on all platforms by adding a bank account to ensure onfido is not disrupting the bank account flow? |
@marcochavezf Could you help to confirm step 3 in here
I can't log in with this credential Screen.Recording.2024-02-24.at.12.42.04.mov |
@DylanDylann ah is that page shown after automatically when you try to add a bank account on web? Looks like a different page to the pop up that should be shown |
@DylanDylann you're testing against production. Use staging server for plaid to be in sandbox mode (About > Troubleshoot > Use Staging Server) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Update progress: bug.mp4After finishing Onfido Step, I get an error in step 2. This error came from Onfide lib. And I don't see it in the staging. I still investigating why Onfido returned this error |
Oh, interesting. What error are you getting from the API command when you click on the |
@marcochavezf Sorry for my delay. The error is from this function
In the new version, we have some break changes as mentioned here To avoid error, we should remove 2 props because these props is deprecated App/src/components/Onfido/BaseOnfidoWeb.js Lines 94 to 100 in e5b3eb2
|
@marcochavezf Also please help to merge main |
ConnectBankAccount.mp4@marcochavezf I used mock data to pass over this block . Everything worked well, but It seems we still need to verify the data in Concierge Chat |
Hi @DylanDylann, sorry for the delay, could you better create a PR that address the breaking changes and then we close this one? |
@marcochavezf The new PR is created here. Let's close this one |
Sounds good, closing it |
Details
Vulnerabilities that will be fixed
With an upgrade:
Why? Proof of Concept exploit, Has a fix available, CVSS 6.2
SNYK-JS-INFLIGHT-6095116
(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.
Fixed Issues
$ #37076
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop