Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 21 von 156
IEEE transactions on software engineering, 2023-02, Vol.49 (2), p.564-585
2023
Volltextzugriff (PDF)

Details

Autor(en) / Beteiligte
Titel
SeqTrans: Automatic Vulnerability Fix Via Sequence to Sequence Learning
Ist Teil von
  • IEEE transactions on software engineering, 2023-02, Vol.49 (2), p.564-585
Ort / Verlag
New York: IEEE
Erscheinungsjahr
2023
Quelle
IEEE Xplore Digital Library
Beschreibungen/Notizen
  • Software vulnerabilities are now reported unprecedentedly due to the recent development of automated vulnerability hunting tools. However, fixing vulnerabilities still mainly depends on programmers' manual efforts. Developers need to deeply understand the vulnerability and affect the system's functions as little as possible. In this paper, with the advancement of Neural Machine Translation (NMT) techniques, we provide a novel approach called SeqTrans to exploit historical vulnerability fixes to provide suggestions and automatically fix the source code. To capture the contextual information around the vulnerable code, we propose to leverage data-flow dependencies to construct code sequences and feed them into the state-of-the-art transformer model. The fine-tuning strategy has been introduced to overcome the small sample size problem. We evaluate SeqTrans on a dataset containing 1,282 commits that fix 624 CVEs in 205 Java projects. Results show that the accuracy of SeqTrans outperforms the latest techniques and achieves 23.3% in statement-level fix and 25.3% in CVE-level fix. In the meantime, we look deep inside the result and observe that the NMT model performs very well in certain kinds of vulnerabilities like CWE-287 (Improper Authentication) and CWE-863 (Incorrect Authorization).
Sprache
Englisch
Identifikatoren
ISSN: 0098-5589
eISSN: 1939-3520
DOI: 10.1109/TSE.2022.3156637
Titel-ID: cdi_proquest_journals_2776778042

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX