Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6421

Unchecked reflection calls in PojoSerializer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Here is one example:

            String subclassName = source.readUTF();
            try {
              actualSubclass = Class.forName(subclassName, true, cl);
      

      subclassName may carry tainted value, allowing an attacker to bypass security checks, obtain unauthorized data, or execute arbitrary code

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: