-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
[JENKINS-73487] Fix Stapler exception with multiple security warnings #9983
base: master
Are you sure you want to change the base?
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.
Thanks!
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.
/label ready-for-merge
This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.
Thanks!
Is this PR too late for 2.479.2? |
It's too late for that. If you want to continue using plugins with known vulnerabilities, you can hide individual security warnings on |
Thanks, I never experienced this exception before. If this specific exception ever does happen, what can an admin do to fix it? |
See JENKINS-73487. Amends #7046.
Testing done
I found this issue to be reproducible with Script Security 1.78 on 2.462.x (as well as latest master). My guess is it might happen once you collect multiple security warnings for an installed component, but looking at the code I'm unsure why that would be. Did not investigate further once I had the reproduction.
Adding this change / reverting it switches between the good and bad behaviors:
Proposed changelog entries
hudson.model.UpdateSite$Warning
on Manage Jenkins that may be shown when plugins with known security issues are installed.Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@mention
Before the changes are marked as
ready-for-merge
:Maintainer checklist