-
Notifications
You must be signed in to change notification settings - Fork 580
[Medium] Patch rubygem-rexml for CVE-2024-43398 & Upgrade rubygem-rexml to 3.2.9 #13841
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
Conversation
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.
Buddy build. Patch matches with references in terms of changed lines.
Please check the failure in installation, this is not because of your patch but in general failure in package installation saying,
We need to check which gem provides strscan and do the changes accordingly or bring in new package to satisfy the additional dependency. |
8ce70b8
to
a3423cc
Compare
We have tried a few ways to see if we can make package installation work.
This errors out when running a simple xml parsing example as documented in rexml homepage
We will first do a minor version upgrade from This will make package installable which user can use. |
3772295
to
58c3f5e
Compare
All existing CVEs still apply to this version and I have created a new patch for CVE-2024-39908, because earlier the patch was applied for version 3.2.7 but now it has to be applied for version 3.2.9 and It was backported. So I have created new patch accordingly with the same patch reference (link) . Some lines were deleted from CVE-2024-39908.patch as these lines are already present in baseparser.rb file of version 3.2.9. |
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.
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.
Buddy build succeeded. As the package installation was broken previously, this PR has addressed that by version upgrade. Minor modification in one existing patch due to version upgrade. LGTM.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-static
subpackages, etc.) have had theirRelease
tag incremented../cgmanifest.json
,./toolkit/scripts/toolchain/cgmanifest.json
,.github/workflows/cgmanifest.json
)./LICENSES-AND-NOTICES/SPECS/data/licenses.json
,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md
,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON
)*.signatures.json
filessudo make go-tidy-all
andsudo make go-test-coverage
passSummary
Patch rubygem-rexml for CVE-2024-43398
Upgrade rubygem-rexml to 3.2.9
All existing CVEs still affect this version. I have created a new patch for CVE-2024-39908. Earlier, the patch was applied on version 3.2.7 but now it has to be applied on version 3.2.9. So I have created patch according. Some lines are deleted from CVE-2024-39908.patch as these lines are already present in baseparser.rb file of version 3.2.9.
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology