-
Notifications
You must be signed in to change notification settings - Fork 3k
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 react-pdf from 7.7.1 to 7.7.3 #41869
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-REACTPDF-6814518
@chiragsalian 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] |
The issue is here: #41870 |
Security upgrade ChecklistC+: Please follow these steps to test the linked PR before running through the reviewer checklist:
It is upgrading Previous changes to This vulnerability can impact our users, an attacker can execute code by convincing a user to open a malicious PDF file.
It's worth fixing.
There are no breaking changes, there is only a patch file version warning that we can fix:
Tests:(On Web, mWeb, and Desktop)
Screenshots/VideosMacOS: Chrome / SafariScreen.Recording.2024-05-09.at.7.36.44.PM.movMacOS: DesktopScreen.Recording.2024-05-09.at.7.41.39.PM.movAndroid: mWeb ChromeScreen.Recording.2024-05-09.at.8.08.02.PM.moviOS: mWeb SafariSimulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-05-09.at.20.05.05.mp4 |
Reviewer Checklist
|
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.
Please run npx patch-package react-pdf
to update patch version
🎯 @rayane-djouah, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #41947. |
Oh I was going to update this package here, but I see Snyk is taking care, so I will add it to the description. |
🚀 Deployed to staging by https://github.com/chiragsalian in version: 1.4.76-0 🚀
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.76-7 🚀
|
Details
Vulnerabilities that will be fixed
With an upgrade:
SNYK-JS-REACTPDF-6814518
Commit messages
Package name: react-pdf
The new version differs by 4 commits.See the full diff
Check the changes in this PR to ensure they won't cause issues with your project.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/395424
PROPOSAL:
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 methodSTYLE.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 and/or tagged@Expensify/design
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