Significant security concerns resulting from open source software ubiquity
There are significant security risks resulting from the widespread use of open source software within modern application development, according to a new report.
Snyk and The Linux Foundation have announced the results of their first joint research report, The State of Open Source Security, which reveals thyat many organisations are lacking strategies to address application vulnerabilities arising from code reuse.
The report also showed how many organisations are currently ill-prepared to effectively manage these risks. Specifically, the report found:
- Over four out of every ten (41%) organisations don't have high confidence in their open source software security
- The average application development project has 49 vulnerabilities and 80 direct dependencies (open source code called by a project)
- The time it takes to fix vulnerabilities in open source projects has steadily increased, more than doubling from 49 days in 2018 to 110 days in 2021.
"Software developers today have their own supply chains - instead of assembling car parts, they are assembling code by patching together existing open source components with their unique code. While this leads to increased productivity and innovation, it has also created significant security concerns," says Matt Jarvis, director, Developer Relations, Snyk.
"This first-of-its-kind report found widespread evidence suggesting industry naivete about the state of open source security today," he says.
"Together with The Linux Foundation, we plan to leverage these findings to further educate and equip the worlds developers, empowering them to continue building fast, while also staying secure."
"While open source software undoubtedly makes developers more efficient and accelerates innovation, the way modern applications are assembled also makes them more challenging to secure," adds Brian Behlendorf, general manager, Open Source Security Foundation (OpenSSF).
"This research clearly shows the risk is real, and the industry must work even more closely together in order to move away from poor open source or software supply chain security practices."
According to the report, modern application development teams are leveraging code from all sorts of places. They reuse code from other applications they've built and search code repositories to find open source components that provide the functionality they need. The use of open source requires a new way of thinking about developer security that many organisations have not yet adopted.
The report found:
Less than half (49%) of organisations have a security policy for OSS development or usage (and this number is a mere 27% for medium-to-large companies); and,
Three in ten (30%) organisations without an open source security policy openly recognise that no one on their team is currently directly addressing open source security.
When developers incorporate an open source component in their applications, they immediately become dependent on that component and are at risk if that component contains vulnerabilities. The report shows how real this risk is, with dozens of vulnerabilities discovered across many direct dependencies in each application evaluated.
This risk is also compounded by indirect, or transitive, dependencies, which are the dependencies of your dependencies. Many developers do not even know about these dependencies, making them even more challenging to track and secure.
That said, to some degree, survey respondents are aware of the security complexities created by open source in the software supply chain today:
- Over one-quarter of survey respondents noted they are concerned about the security impact of their direct dependencies;
- Only 18% of respondents said they are confident of the controls they have in place for their transitive dependencies; and,
- Forty percent of all vulnerabilities were found in transitive dependencies.
As application development has increased in complexity, the security challenges faced by development teams have also become increasingly complex. While this makes development more efficient, the use of open source software adds to the remediation burden. The report found that fixing vulnerabilities in open source projects takes almost 20% longer (18.75%) than in proprietary projects.