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

Resolve CWE22 problems in pyflink_gateway_server.py

    XMLWordPrintableJSON

Details

    Description

      For example, the code `if os.path.isfile(flink_conf_path):` contains CWE22 problem that calling "os.path.isfile" with the tainted value in argument 1. This constructs a path or URI using the tainted value and may thus allow an attacker to access, modify, or test the existence of critical or sensitive files.

      More information about CWE22 here: https://cwe.mitre.org/data/definitions/22.html

      Attachments

        Issue Links

          Activity

            People

              csq Shuiqiang Chen
              hequn8128 Hequn Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: