CoChat

Automatic CWE Assignment for Vulnerabilities with Graph Neural Networks

Liu, Peng, Ye, Wenzhe, Duan, Haiying, Li, Xianxian, Zhang, Shuyi, Li, Yongnan · 2023 · 2023 3rd Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS)

The DOI matches its Crossref record; 3 of the 3 references it cites were found in a registry or an index.

Abstract

Vulnerability reports are essential for improving software security since they record many key information of vulnerabilities. In a report, CWE denotes the weakness of the vulnerability and thus helps understand the cause of the vulnerability quickly. Therefore, CWE assignment useful for categorizing newly discovered vulnerabilities. In this paper, we propose an automatic CWE assignment method with Graph Neural Networks. First, we prepare a dataset that contains 3,394 real world vulnerabilities from Linux, OpenSSL, Wireshark and many other software. Then, we extract statements with vulnerability syntax features from these vulnerabilities and use program slicing to slice them according to the categories of syntax features. On top of slices, we represent these slices with graphs that characterize the data dependency and control dependency between statements. Finally, we employ the Graph Neural Network to learn the hidden information from these graphs, and leverage the Siamese Network to compute the similarity between vulnerability functions, thereby performing assignment of CWE ID for these vulnerabilities. The experimental results show that the proposed method is effective compared to existing methods.

Overview

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/acctcs58815.2023.00044

Cites

3 of 3 references verified0 citation errors · 0 not checkable

Statistics

Verification

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.

A few free checks a day · papers already verified open instantly · results are public

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Citations

Cites

Research works printed but not linked: 13

  1. 10.1109/DSAA53316.2021.9564227 · DOI
  2. 10.1109/ISCC50000.2020.9219568 · DOI
  3. 10.1007/978-3-030-63086-7_2 · DOI
  4. Shi, 2015, Convolutional LSTM network: A machine learning approach for precipitation nowcasting, Advances in neural information processing systems, 28
  5. 10.1109/TDSC.2021.3051525 · DOI · Paper page
  6. 10.1109/CGO.2004.1281665 · DOI · Paper page
  7. 10.5555/3044805.3045025 · doi:10.5555/3044805.3045025
  8. 10.1109/CSR51186.2021.9527965 · DOI
  9. 10.1007/978-3-319-49106-6_65 · doi:10.1007/978-3-319-49106-6_65
  10. 10.1007/s11042-022-12049-1 · DOI
  11. Zhou, 2019, Devign: Effective vulnerability identification by learning comprehensive program semantics via graph neural networks, Advances in neural information processing systems, 32
  12. 10.1016/j.cose.2021.102417 · DOI
  13. 10.5860/choice.33-1577 · DOI · Paper page

Cited by

See all 2

Metadata

Authors
Liu, P., Ye, W., Duan, H., Li, X., Zhang, S., & Li, Y.
Affiliations
  • Guangxi Normal University (CN)
  • Beihang University (CN)
  • China People's Public Security University (CN)
Venue
2023 3rd Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS)
Publisher
IEEE
Published
2023-02
Pages
188-193
OpenAlex
W4380030985
Cited by
2
References
3
Citations by year
2025: 1 · 2024: 1
FWCI
0.53
Type
conference paper
Language
en
Open access
closed
Locations
Asia-Pacific Conference on Communications Technology and Computer Science (ACCTCS) (publishedVersion)
Funders
  • National Natural Science Foundation of China
  • Fundamental Research Funds for the Central Universities
Topics
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
  • Physical Sciences › Computer Science › Information Systems › Web Application Security Vulnerabilities
Keywords
Common Weakness Enumeration, vulnerability classification, graph neural networks, program slicing, vulnerability reports, control flow graph, data dependencies, control dependencies, Siamese network, vulnerability functions, software security

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review

Data sources

Bibliographic data: Semantic Scholar, OpenAlex, Crossref.

Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).

Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.