mlsanityData to 7 Oct 2026

On the Use of Fine-grained Vulnerable Code Statements for Software Vulnerability Assessment Models

arXiv 2203.08417 ↗First posted 16 Mar 2022cs.SE cs.CR cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Many studies have developed Machine Learning (ML) approaches to detect Software Vulnerabilities (SVs) in functions and fine-grained code statements that cause such SVs. However, there is little work on leveraging such detection outputs for data-driven SV assessment to give information about exploitability, impact, and severity of SVs. The information is important to understand SVs and prioritize their fixing. Using large-scale data from 1,782 functions of 429 SVs in 200 real-world projects, we investigate ML models for automating function-level SV assessment tasks, i.e., predicting seven Common Vulnerability Scoring System (CVSS) metrics. We particularly study the value and use of vulnerable statements as inputs for developing the assessment models because SVs in functions are originated in these statements. We show that vulnerable statements are 5.8 times smaller in size, yet exhibit 7.5-114.5% stronger assessment performance (Matthews Correlation Coefficient (MCC)) than non-vulnerable statements. Incorporating context of vulnerable statements further increases the performance by up to 8.9% (0.64 MCC and 0.75 F1-Score). Overall, we provide the initial yet promising ML-based baselines for function-level SV assessment, paving the way for further research in this direction.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 30 of its 91 references that are in the map. First posted on arXiv 16 Mar 2022.

Builds on

30 of 91 references.

References · 30

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  3. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  4. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  5. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  6. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  7. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  8. 2018code2vec: Learning Distributed Representations of Codecited by 249
  9. 2018Model Evaluation, Model Selection, and Algorithm Selection in Machine Learningcited by 157
  10. 2018SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilitiescited by 91
  11. 2021Vulnerability Detection with Fine-grained Interpretationscited by 56
  12. 2020Deep Learning for Source Code Modeling and Generation: Models, Applications and Challengescited by 55
18 more
  1. 2018Baseline Needs More Love: On Simple Word-Embedding-Based Models and Associated Pooling Mechanismscited by 53
  2. 2020CC2Vec: Distributed Representations of Code Changescited by 38
  3. 2020VulDeeLocator: A Deep Learning-based Fine-grained Vulnerability Detectorcited by 37
  4. 2018The Impact of Class Rebalancing Techniques on the Performance and Interpretation of Defect Prediction Modelscited by 29
  5. 2019A Manually-Curated Dataset of Fixes to Vulnerabilities of Open-Source Softwarecited by 28
  6. 2020Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repaircited by 22
  7. 2021VELVET: a noVel Ensemble Learning approach to automatically locate VulnErable sTatementscited by 20
  8. 2021A Survey on Data-driven Software Vulnerability Assessment and Prioritizationcited by 18
  9. 2021Automated Software Vulnerability Assessment with Concept Driftcited by 15
  10. 2020Predicting Defective Lines Using a Model-Agnostic Techniquecited by 14
  11. 2020A Large-scale Study of Security Vulnerability Support on Developer Q&A Websitescited by 12
  12. 2021DeepCVA: Automated Commit-level Vulnerability Assessment with Deep Multi-task Learningcited by 11
  13. 2020PUMiner: Mining Security Posts from Developer Question and Answer Websites with PU Learningcited by 10
  14. 2021VulSPG: Vulnerability detection based on slice property graph representation learningcited by 7
  15. 2021Automated Security Assessment for the Internet of Thingscited by 6
  16. 2018Beyond Metadata: Code-centric and Usage-based Analysis of Known Vulnerabilities in Open-source Softwarecited by 4
  17. 2018Predicting Good Configurations for GitHub and Stack Overflow Topic Modelscited by 3
  18. 2021An Investigation into Inconsistency of Software Vulnerability Severity across Data Sourcescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 1; 2025: 2; 2026: 1.

5 papers.