• GYunchov342370 (Community Member)

      Hi I have concrete question:

      Shal I use @FilePathCleanser
      When I use new File(path)?
      Regards,
      Georgi Yunchov
      Senior Software Engineer I,
      Credit Services Development and Delivery (CS-CSDA) - Nordics
      Experian Bulgaria EAD
      Megapark Office Building
      115 G Tzarigradsko shosse Boulevard
      Floors 10/11
      Sofia 1784
      T: +359 (0) 2 451 28 37
      M: +359 878 188 554

      Georgi.Yunchov@experian.com<mailto:Georgi.Yunchov@experian.com>
      www.experian.bg<http://www.experian.bg/>

      [Experian BM TM RGBsm]
      Expand Post
      • Hi @GYunchov342370 (Community Member)​ ,

         

        Whether you chose to use Veracode Static Analysis Custom Cleansers depends on 3 things:

        1. Whether your organization has this setting enabled, I checked and your security team to allow custom cleansers to propose mitigations.

        2. How often you intend to reuse this function. If you only intend to use it once it will only be more overhead, you may want to propose a mitigation manually.

        3. Whether you want to include our JAR file in your project. Typically, older legacy projects have stricter requirements about introducing new functionality.

         

        If however it's enabled (again, it is enabled for you), and you plan to reuse the function and this project is not a legacy product I would recommend using it.

         

        You can read more on our Custom Cleanser support here: https://help.veracode.com/reader/DGHxSJy3Gn3gtuSIN2jkRQ/xrEjru~XmUHpO6~0FSae2Q /

         

        Thank you,

        Boy Baukema

        Expand Post
      • GYunchov342370 (Community Member)

        Hi Boy,

        I put @FilePathCleanser
        Annotation on my problem method. But it still has CWE-73 level issue. How to solve it?

        Regards,
        Georgi Yunchov
        Senior Software Engineer I,
        Credit Services Development and Delivery (CS-CSDA) - Nordics
        Experian Bulgaria EAD
        Megapark Office Building
        115 G Tzarigradsko shosse Boulevard
        Floors 10/11
        Sofia 1784
        T: +359 (0) 2 451 28 37
        M: +359 878 188 554

        Georgi.Yunchov@experian.com<mailto:Georgi.Yunchov@experian.com>
        www.experian.bg<http://www.experian.bg/>

        [Experian BM TM RGBsm]
        Expand Post
      • Custom Cleanser attributes do not cause the flaws to close but will propose a mitigation for you.

        Once the mitigation is proposed you must reach out to your security team to request a mitigation proposal review.

         

        Thank you,

        Boy Baukema

        Expand Post

Topics (3)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.