Unglitching the system: Advancement in predicting software vulnerabilities

computer code
Credit: Pixabay/CC0 Public Domain

Software vulnerabilities are prevalent across all systems that are built using source codes, causing a variety of problems including deadlock, hacking or even system failures. Thus, early predictions of vulnerabilities are critical for security software systems.

To help combat this, Faculty of Information Technology experts developed the LineVul approach and found it increased accuracy in predicting by more than 300% while spending only half the usual amount of time and effort, when compared to current best-in-class prediction tools.

LineVul is also able to guard against the top 25 most dangerous and common weaknesses in source codes, and can be applied broadly to strengthen cybersecurity across any application built with .

Research co-author Dr. Chakkrit Tantithamthavorn, from the Faculty of Information Technology (IT), said standard software programs contain millions to billions of lines of code and it often takes a significant amount of time to identify and rectify vulnerabilities.

"Current state-of-the-art machine learning-based prediction tools are still inaccurate and are only able to identify general areas of weakness in the source codes," Dr. Tantithamthavorn said.

"With the proposed LineVul approach we are not only able to predict the most critical areas of vulnerability but also are able to specifically identify the location of vulnerabilities down to the exact line of code."

Research co-author Ph.D. candidate Michael Fu said the LineVul approach was tested against large-scale real-world datasets with more than 188 thousand lines of software code.

"Software developers normally spend a substantial amount of time trying to identify vulnerabilities in code either during the development process or after the program has been implemented. The existence of vulnerabilities, especially after the implementation of the program, can potentially expose to dangerous cyberattacks.

"The LineVul approach can be broadly applied across any software system to strengthen applications against cyberattacks and can be a significant tool for developers especially in safety-critical areas like software used by the Australian government, defense, finance sectors etc."

Future research building on the LineVul approach includes the development of new methods to automatically suggest corrections for vulnerabilities in software .

More information: LineVul: A Transformer-based Line-Level Vulnerability Prediction. www.researchgate.net/publicati … erability_Prediction

Provided by Monash University
Citation: Unglitching the system: Advancement in predicting software vulnerabilities (2022, May 19) retrieved 29 March 2024 from https://techxplore.com/news/2022-05-unglitching-advancement-software-vulnerabilities.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

Using machine learning to detect software vulnerabilities

74 shares

Feedback to editors