You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[JENKINS-47736] JEP-200: Switch Remoting/XStream blacklist to a whitelist #22391
Currently Remoting and XStream2 share a blacklist of classes thought to be dangerous to deserialize, due to historically reported remote code execution attacks. We should instead switch to a whitelist, plus some categorical exemptions.
Currently Remoting and XStream2 share a blacklist of classes thought to be dangerous to deserialize, due to historically reported remote code execution attacks. We should instead switch to a whitelist, plus some categorical exemptions.
Activity
jenkins-infra-bot commentedon Oct 30, 2017
Remote links associated with this issue:
jenkins-infra-bot commentedon Oct 30, 2017
Raw content of original comment:
I filed a JEP which should be referred to for all details.
jenkins-infra-bot commentedon Oct 31, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/plugins/registry/notification/webhook/dockerregistry/DockerRegistryWebHookPayload.java
http://jenkins-ci.org/commit/dockerhub-notification-plugin/162947aa5d4267fbb25ea8528c4fcdf2186eb31e
Log:
JENKINS-47736Unnecessary serialization of a JSONObject.jenkins-infra-bot commentedon Oct 31, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jenkinsci/plugins/registry/notification/webhook/dockerregistry/DockerRegistryWebHookPayload.java
http://jenkins-ci.org/commit/dockerhub-notification-plugin/9641b4f4d9d416119f9bc803a132994a9278340d
Log:
Merge pull request #16 from jglick/whitelist-
JENKINS-47736JENKINS-47736Unnecessary serialization of a JSONObjectCompare: jenkinsci/dockerhub-notification-plugin@5932021...9641b4f
jenkins-infra-bot commentedon Nov 1, 2017
Raw content of original comment:
JENKINS-47736Draft JEP.Code changed in jenkins
User: Jesse Glick
Path:
jep/200/README.adoc
http://jenkins-ci.org/commit/jep/feb7c55886d3ccf494537e1f35780b4166e699e1
Log:
DRAFT: JEP-200: Switch Remoting/XStream blacklist to a whitelist (#23)
JENKINS-47736Draft JEP.jenkins-infra-bot commentedon Nov 28, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jvnet/hudson/test/MockQueueItemAuthenticator.java
http://jenkins-ci.org/commit/jenkins-test-harness/3d9ebde50cf9dfcb297588f57d50905f8f94accc
Log:
JENKINS-47736Do not even try to persist an Authentication.jenkins-infra-bot commentedon Nov 28, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
src/main/java/org/jvnet/hudson/test/MockQueueItemAuthenticator.java
http://jenkins-ci.org/commit/jenkins-test-harness/0639913590297601158e9aca395c3461005357df
Log:
Merge pull request #81 from jglick/whitelist-
JENKINS-47736JENKINS-47736Do not even try to persist an AuthenticationCompare: jenkinsci/jenkins-test-harness@52ef2fe...0639913
jenkins-infra-bot commentedon Dec 7, 2017
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
src/test/java/hudson/plugins/copyartifact/CopyArtifactTest.java
http://jenkins-ci.org/commit/copyartifact-plugin/e225ab7c034eb424a59372d55ac020aca8fe762f
Log:
Avoid a warning under
JENKINS-47736.jenkins-infra-bot commentedon Jan 5, 2018
Raw content of original comment:
I am going to convert it to EPIC so that we can track other action items separately
jenkins-infra-bot commentedon Jan 5, 2018
Raw content of original comment:
Code changed in jenkins
User: Oleg Nenashev
Path:
pom.xml
http://jenkins-ci.org/commit/lib-jenkins-maven-embedder/fdf0ac0ce2fac2d706ddca98b06cd825cbdfe319
Log:
Merge pull request #15 from jglick/Jenkins-ClassFilter-Whitelisted
JENKINS-47736Jenkins-ClassFilter-Whitelistedjenkins-infra-bot commentedon Jan 9, 2018
Raw content of original comment:
JENKINS-47736Introduced ClassFilter.setDefault.JENKINS-47736- Add some annotations, mostly to kick-off CICode changed in jenkins
User: Jesse Glick
Path:
src/main/java/hudson/remoting/ClassFilter.java
src/test/java/hudson/remoting/ClassFilterTest.java
http://jenkins-ci.org/commit/remoting/1fda115f080dc3fc1063ca3496f49bb2853f380e
Log:
JENKINS-47736Introduced ClassFilter.setDefault (#208)JENKINS-47736Introduced ClassFilter.setDefault.JENKINS-47736- Add some annotations, mostly to kick-off CIjenkins-infra-bot commentedon Jan 12, 2018
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
core/src/main/java/hudson/util/XStream2.java
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/java/jenkins/security/ClassFilterImpl.java
core/src/main/java/jenkins/security/CustomClassFilter.java
core/src/main/resources/jenkins/security/whitelisted-classes.txt
pom.xml
test/pom.xml
test/src/test/groovy/hudson/cli/BuildCommandTest.groovy
test/src/test/java/hudson/cli/BuildCommand2Test.java
test/src/test/java/hudson/util/XStream2Security383Test.java
test/src/test/java/jenkins/install/InstallUtilTest.java
test/src/test/java/jenkins/install/SetupWizardTest.java
test/src/test/java/jenkins/security/ClassFilterImplTest.java
test/src/test/java/jenkins/security/CustomClassFilterTest.java
test/src/test/java/jenkins/security/Security218CliTest.java
test/src/test/java/jenkins/security/Security218Test.java
test/src/test/resources/plugins/custom-class-filter.jpi
http://jenkins-ci.org/commit/jenkins/903b4461d37170ccda49ce6637adf7cf4a261b93
Log:
JENKINS-47736Switch Remoting/XStream blacklist to a whitelist.jenkins-infra-bot commentedon Jan 12, 2018
Raw content of original comment:
Code changed in jenkins
User: Oleg Nenashev
Path:
pom.xml
http://jenkins-ci.org/commit/jenkins/29362a5b7b94ddfe0ead38c423c54c81bfced53d
Log:
JENKINS-47736- Use the new snapshot: remoting-3.16-20171228.162243-1jenkins-infra-bot commentedon Jan 12, 2018
Raw content of original comment:
Code changed in jenkins
User: Oleg Nenashev
Path:
pom.xml
http://jenkins-ci.org/commit/jenkins/88e756de6fe6c3333658e6d4be6aad2323a63e09
Log:
JENKINS-47736- Use the released version of Remoting 3.16jenkins-infra-bot commentedon Jan 12, 2018
Raw content of original comment:
Code changed in jenkins
User: Jesse Glick
Path:
core/src/main/java/hudson/PluginManager.java
core/src/main/java/hudson/util/XStream2.java
core/src/main/java/jenkins/MasterToSlaveFileCallable.java
core/src/main/java/jenkins/SlaveToMasterFileCallable.java
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/java/jenkins/security/ClassFilterImpl.java
core/src/main/java/jenkins/security/CustomClassFilter.java
core/src/main/java/jenkins/security/MasterToSlaveCallable.java
core/src/main/java/jenkins/security/SlaveToMasterCallable.java
core/src/main/resources/jenkins/security/whitelisted-classes.txt
pom.xml
test/src/test/java/hudson/util/XStream2Security383Test.java
test/src/test/java/jenkins/install/InstallUtilTest.java
test/src/test/java/jenkins/install/SetupWizardTest.java
test/src/test/java/jenkins/security/ClassFilterImplTest.java
test/src/test/java/jenkins/security/CustomClassFilterTest.java
test/src/test/java/jenkins/security/Security218CliTest.java
test/src/test/java/jenkins/security/Security218Test.java
test/src/test/resources/plugins/custom-class-filter.jpi
http://jenkins-ci.org/commit/jenkins/cb4903c20e788f015f6210a965a2759009ff24f2
Log:
[JEP-200]
JENKINS-47736Merged #3120: ClassFilterImpl4 remaining items