Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-49649

JEP-200: Filesystem list parameter plugin: java.util.Formatter

XMLWordPrintable

      java.util.Formatter appears to be missing from whitelist :

      févr. 19, 2018 3:29:37 PM jenkins.security.ClassFilterImpl lambda$isBlacklisted$1
      AVERTISSEMENT: java.util.Formatter in JRE might be dangerous, so rejecting; see https://jenkins.io/redirect/class-filter/
      

      This is making trouble to read some job configuration, and for data cleaning :

      ConversionException: Refusing to unmarshal formatter for security reasons; see https://jenkins.io/redirect/class-filter/ ---- Debugging information ---- class : java.util.Formatter required-type : java.util.Formatter converter-type : hudson.util.XStream2$BlacklistedTypesConverter path : /build/actions/hudson.model.ParametersAction/parameterDefinitionNames/outer-class/parameterDefinitions/alex.jenkins.plugins.FileSystemListParameterDefinition/formatter line number : 35 -------------------------------,
      

      Workaround:

      Add the following argument to jenkins command line:

      -Dhudson.remoting.ClassFilter=java.util.Formatter
      

      PS : This my first bug report, advices are welcome.

       

            oleg_nenashev Oleg Nenashev
            rmaura Régis Maura
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: