Litcius/Paper detail

On the vulnerability proneness of multilingual code

Wen Li, Li Li, Haipeng Cai

2022Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering20 citationsDOIOpen Access PDF

Abstract

Software construction using multiple languages has long been a norm, yet it is still unclear if multilingual code construction has significant security implications and real security consequences. This paper aims to address this question with a large-scale study of popular multi-language projects on GitHub and their evolution histories, enabled by our novel techniques for multilingual code characterization. We found statistically significant associations between the proneness of multilingual code to vulnerabilities (in general and of specific categories) and its language selection. We also found this association is correlated with that of the language interfacing mechanism, not that of individual languages. We validated our statistical findings with in-depth case studies on actual vulnerabilities, explained via the mechanism and language selection. Our results call for immediate actions to assess and defend against multilingual vulnerabilities, for which we provide practical recommendations.

Topics & Concepts

Computer scienceSelection (genetic algorithm)Code (set theory)Vulnerability (computing)Norm (philosophy)InterfacingNatural language processingSecure codingArtificial intelligenceProgramming languageSoftware security assuranceComputer securityInformation securitySecurity serviceSet (abstract data type)Political scienceComputer hardwareLawSoftware Engineering ResearchAdvanced Malware Detection TechniquesSoftware Reliability and Analysis Research