narayanayv (Community Member) asked a question.

How to fix Use of Obsolete Function (CWE ID 477)(1 flaw)

Description:

The code uses deprecated or obsolete files or functions, which suggests that the code has not been actively reviewed or maintained. Obsolete files may contain known security issues.

 

Recommendations:

Replace deprecated functions with more secured and efficient counterparts. Please refer to corresponding language documentation for specific recommendations.


VCode likes this.
  • Hi @narayanayv (Community Member)​ ,

     

    I recommend you look at the documentation for the obsolete function to see why is it deprecated or obsolete. There may be a security issue, in which case you should replace the function call with a more secure alternative.

     

    I'm sure the community will be able to offer more specific help if you shared the language your code is written in and what the function is called.

     

    Best regards,

    Duncan

    Expand Post
  • narayanayv (Community Member)

    Hi,

    Please find the below my app scan results screen shot, please verify it and let me know if any fix for this.

     

    477

  • Hi @narayanayv (Community Member)​ ,

     

    Thank you for uploading the screenshot.

     

    What we see here is that your application is using jQuery, and that it contains an obsolete function. This suggests it's an old version of jQuery. I would recommend you upgrade to the latest version of jQuery and re-run your scan.

     

    Best regards,

    Duncan

     

    Expand Post

Topics (1)

No articles found
Loading

Ask the Community

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