[Snyk] Security upgrade onfido-sdk-ui from 13.6.1 to 14.15.0#37075
[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 |
package-lock.json
Outdated
| "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.
@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.
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 Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop