Home Java The worst bugs in the top programming languages

The worst bugs in the top programming languages

7 min read

A heatmap exhibits PHP has essentially the most flaws adopted by C++, then Java, .Internet, JavaScript, and Python in Veracode’s annual safety report.

Getty Photographs/iStockphoto

Veracode has launched the eleventh quantity of its annual State of Software program Safety report, and its findings reveal that flawed functions are the norm, open-source libraries are more and more untrustworthy, and it is taking a very long time to patch issues.

The report discovered a full 76% of apps contained flaws, and 24% of apps have flaws thought-about extremely extreme. Some 70% of apps are inheriting safety flaws from their open-source libraries, nevertheless it’s necessary to notice that solely 30% of apps have extra safety bugs of their open-source libraries than in code written in-house, suggesting that it is not solely open-source tasks which can be accountable.

Open-source libraries are an enormous assault floor attributable to their ubiquity, Veracode mentioned within the report. It additionally identified that there is not any correlation between the standard of in-house code and open-source bugs, highlighting that builders needs to be verifying the security of open-source libraries regardless of how good they assume their very own code is. 

SEE: Identification theft safety coverage (TechRepublic Premium)

When it comes to how bugs are being resolved, Veracode discovered that 73% of the bugs it discovered as a part of the report have been patched, which is a giant enchancment over earlier years, when that quantity was within the mid-50% vary. Regardless of that good signal, it is nonetheless taking a mean of six months to shut half of found flaws.

As for the sorts of safety flaws being discovered, the report states that the outcomes are in line with earlier years. 

“For essentially the most half, the highest flaw varieties have stayed pretty constant through the years. Quantity 10 final 12 months discovered that info leakage, cryptographic points, CRLF injection, and code high quality flaws have been the most typical kinds of flaws present in functions. On this 12 months’s analysis, the highest three didn’t transfer round, and the third place ‘cryptographic points’ are additionally present in nearly two out of three functions with flaws on this report,” the report mentioned.

Veracode additionally launched a heatmap of the worst bugs in the preferred languages. Apparently sufficient, the language with the least use of open-source libraries can also be the one with essentially the most bugs: PHP.  

Trying on the heatmap, it is easy to identify which of the 5 standard languages included has the worst safety. Following PHP is C++, then Java, .Internet, JavaScript, and Python. The latter two are, doing significantly higher than the competitors, with the worst flaws in every solely being present in roughly 30% of apps. In comparison with PHP with 74.6% of its apps susceptible to cross-site scripting, JavaScript and Python are safety powerhouses.

Whatever the language you select, it is important to implement finest practices, which Veracode describes within the report as “nature vs nurture.” In essence, the character of apps are parts about them that may’t be managed, whereas the nurture facets are these you possibly can management. 

SEE: Social engineering: A cheat sheet for enterprise professionals (free PDF) (TechRepublic)

“Even when the developer has inherited an outdated, gargantuan software with heaps of safety debt, and there’s no one left who remembers why some issues have been coded that means, fixing flaws and including new options do not need to proceed being tough,” the report mentioned. 

“We have regarded on the impact of nature and nurture on the safety of our functions. We discovered that nurture—our selections and actions—can overcome and enhance the character of the applying and setting,” Veracode concluded.

Additionally see

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Texas leaders react to Gov. Greg Abbott’s announcement

On Tuesday, Gov. Greg Abbott introduced the top to the manager orders he made to sluggish …