8 Ways to Find and Fix Open Source Vulnerabilities
By FF Newsroom · 12 March 2019

Overview
As consumer demands evolve and agile methods dominate the world of software development, more organizations are tightening their software development lifecycles (SDLCs). Shorter release cycles enable software applications to stay relevant and provide the services their customers need, but they also allow less time for building, testing, and repairing code. One way to reduce your workload while keeping up with a fast development environment is to use open source software (OSS). Most software, including commercial software, contains open source code, which is free and modifiable, and which developers don’t have to build from scratch. Open source software is lower cost than proprietary software, and it has the added advantage of an open source community, which monitors and assesses the safety and utility of OSS products. More than anything, open source is simply a necessity because it saves time. The code is ready-made and has proven functionality, while the open source license offers you the flexibility to adjust the code to suit your own needs. However, the ubiquity of OSS also has a downside. A 2017 report by Black Duck found that 96% of commercial applications used open source components, with known vulnerabilities in 67% of these. In 2018, the situation was even worse, with 78% of codebases containing vulnerabilities.Open Source Risks
As with proprietary code, open source code can contain vulnerabilities that hackers can exploit, resulting in issues like denial of service (DoS) attacks or unauthorized access to your system. When developers use code from open source libraries, they could also be introducing vulnerabilities into their applications. Likewise, new security vulnerabilities are often discovered in old libraries. Visibility is a major issue, with many organizations failing to keep track of the dependencies in their products, while smaller companies often neglect to scan their code for potential vulnerabilities. As open source components age, they generate a greater risk. The US government-sponsored Common Vulnerabilities and Exposures (CVE) list recorded more than 8,000 new vulnerabilities in 2017, but this list by no means covers all known vulnerabilities. Even large companies are not immune. For example, the Equifax breach of September 2017 compromised the personal information of over 148 million people. The source of this breach was a vulnerability in the Apache Struts open source software, which the company was aware existed. Security scans did not pick up the compromised versions of Apache Struts, and while a patch was available well before the breach occurred, Equifax failed to apply it in time. In 2017, a third of applications using this software also contained the Struts vulnerability. Other risks relate to license and compliance issues. While open source licenses allow you to use and modify the software, they may still set out terms with which you need to comply. It is possible that some open source libraries are infringing on copyright laws. Consider also that open source products don’t always come with adequate warranties or liabilities.How You Can Manage Open Source Vulnerabilities
As a distributed ecosystem, open source is harder to manage than proprietary software and requires a different approach to security. Here are 8 ways you can mitigate the risks of OSS:- Find Vulnerabilities:
- Bake Security into the SDLC:
- Promote Communication and Collaboration:
- Create Open Source Management Policies:
- Automate Security:
- Use the Right Tools:
- Take Advantage of the Open Source Community
- Avoid Components With Known Vulnerabilities: