CISA report highlights have to transition to memory-safe languages


A new report from CISA, the FBI, the Australian Cyber Safety Centre (ACSC), and the Canadian Centre for Cyber Safety (CCCS) analyzed 172 important OpenSSF initiatives and located that 52% of them include code written in a memory-unsafe language.

The report additionally discovered that 55% of the full traces of code for all initiatives have been written in a memory-unsafe language. 

In keeping with the report, memory-unsafe languages — corresponding to C or C++ — place the accountability of managing reminiscence use and allocation on builders, which may result in memory-safety vulnerabilities like buffer overflows and use after free in the event that they make a mistake. Reminiscence-safe languages shift that accountability to the compiler or interpreter and might considerably cut back the chance to introduce memory-safety vulnerabilities, which have led to vulnerabilities like Morris Worm, Slammer Worm, Heartbleed, and BLASTPASS. 

“By utilizing memory-safe languages, programmers can deal with producing higher-quality code quite than perilously contending with low-level reminiscence administration,” mentioned Omkhar Arasaratnam, GM on the OpenSSF.

This new report follows the White Home Workplace of the Nationwide Cyber Director’s (ONCD) name earlier this 12 months on expertise leaders to undertake memory-safe languages. 

“We, as a nation, have the flexibility – and the accountability – to cut back the assault floor in our on-line world and stop whole courses of safety bugs from getting into the digital ecosystem however which means we have to sort out the arduous downside of shifting to reminiscence secure programming languages,” mentioned Nationwide Cyber Director Harry Coker on the time.  

In keeping with Chris Hughes, CISSP, chief safety advisor at Endor Labs and Cyber Innovation Fellow at CISA, one of many the reason why so many initiatives are written in memory-unsafe languages is that for a few years these languages have been extensively adopted and it’s solely been not too long ago that there’s been a transfer to encourage builders to make the most of memory-safe languages. 

He defined that will probably be troublesome to transition present initiatives to memory-safe languages due to the assets, effort, and experience required, which maintainers of the initiatives might not have.  

“That mentioned, there are additionally alternatives for organizations to assist facilitate the transition by assets together with financial incentives, in addition to doubtlessly improvement help to facilitate the transition,” mentioned Hughes. “In fact, there nonetheless stays points with third-party and transitive dependencies as mentioned within the report, that means even when the initiatives have been re-written, they would wish to conduct dependency evaluation and be certain that transitive dependencies are additionally accounted for on the subject of reminiscence security. Lastly, efforts would should be made to make sure the builders and maintainers implement safe coding practices to make sure reminiscence security safeguards aren’t undermined.”


You might also like…

White Home recommends software program be written in reminiscence secure languages to enhance cybersecurity

Are builders and DevOps converging?

Similar Posts

Leave a Reply

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