Season 1: Open Source Security Episode 11: Help! There’s too many Vulnerabilities! A Practical Guide to Tackling Open-Source Security This is a public episode. If you would like to discuss this with other subscribers or get access to bonus episodes, visit appsecunlocked.substack.com
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Welcome to AppSec Unlocked, the podcast that unravels the complexities of application security. I'm your host, Edwin Kwan, and today we're diving into a topic that's causing headaches for many organizations. Help! There's too many vulnerabilities. And here's a practical guide to tackling open source security. Vulnerability overload. Open source software has become an integral part of modern application development.
SPEAKER_00However, when organizations start securing their open source components, they often find themselves overwhelmed by the sheer number of vulnerabilities discovered. This initial shock can be paralyzing, especially for companies still building their open source governance. But fear not, today we'll explore a structured, effective approach that can significantly reduce these risks.
SPEAKER_00I'll share a method that helped reduce vulnerabilities by 99% over two years that I've used at a past organization. Step one, we're going to stop the bleeding. The first crucial step is to prevent new vulnerabilities from entering your code base. This involves setting up robust open source security policies. These policies should stipulate that no new components with known vulnerabilities
SPEAKER_00are to be used in the code base. To enforce these policies, integrate Software Composition Analysis Tools, or SCAs, and integrate that into your CI-CD pipeline. Configure these tools to automatically scan and fail the builds when a violation occurs. This foundational step ensures you're not adding to your vulnerability debt while addressing existing issues.
SPEAKER_00Step two, classify your applications. Classifying your organization's applications based on their criticality and sensitivity. This helps prioritize which vulnerabilities to address first. You don't need to reinvent the wheel here. Most organizations can leverage existing data classification frameworks or their business impact analysis classifications. The outcome, you now know which systems are critical as they're handling sensitive data or
SPEAKER_00crucial for business operations. And you'll know which are your lower priority with less business impact. Step three, prioritization. With your applications classified, it's time to focus on the most significant risks. Start by tackling critical and high severity vulnerabilities in your critical applications. Here are some tips for managing this stage effectively.
SPEAKER_00First, avoid overwhelming the development teams with huge lists of vulnerabilities. Instead, give them prioritized lists. Second, if your SCA tool supports it, filter vulnerabilities further based on exploitability. Alternatively, you can use the Exploit Prediction Scoring System, or EPSS, to gauge real-world threat likelihood. And last, collaborate with teams to set realistic remediation deadlines based on workload and
SPEAKER_00risk assessment. Now on to step four, which is remediation. Now it's time to roll up your sleeves and start addressing those vulnerabilities. Progress gradually through the backlog, addressing the critical issues first, then systematically working down the list. During my experience, even with a daunting number of vulnerabilities at the outset, we managed to drastically reduce the count over two years without sacrificing
SPEAKER_00development velocity. Step five, you need to maintain your momentum. Even after addressing existing vulnerabilities, a long-term strategy is essential to keep your security posture strong. Introduce service level objectives for dealing with newly discovered vulnerabilities in your existing open source components. These SLOs should align with your development team's workflow and be based on the
SPEAKER_00application's classification, vulnerability severity, and exploitability. The last step, we need to make sure we keep the components current. One often overlooked aspect of open source security is ensuring that components are kept up to date. Using outdated libraries can leave your applications vulnerable, even if they don't currently have known issues.
SPEAKER_00Here are some strategies to keep dependencies current. The first one is a scheduled maintenance approach, where you set aside regular time for teams to update components as part of ongoing maintenance. The second is to have release policies where you implement these policies that require building on the latest stable releases. And the last one is to automate that using tools. Solutions like GitHub Dependent Bot or Renovate helps to automate dependency updates.
SPEAKER_00This approach can simplify the process but should be balanced with manual oversight to avoid breaking changes. Now wrapping up, securing open source software is a continuous journey, but with a strategic approach, organizations can significantly mitigate risks. By halting the introduction of new vulnerabilities, categorizing and prioritizing remediation efforts, and setting a long-term maintenance strategy,
SPEAKER_00you can protect your applications and ensure a more secure development environment. Remember, taking the time to structure your open source security program will not only help in reducing vulnerabilities, but also instill a culture of proactive security within your development teams. That's all for today's episode of AppSec Unlocked. I hope you found this useful. Please don't forget to subscribe to our podcast and leave a review.
Welcome to the last article in this series on Training & Awareness. We're going to finish off the season by looking ahead to the future of security training and awareness. Over the past eleven episodes, we've covered...
In this article we're looking at a challenge that's become increasingly critical: security training for remote teams. We'll explore how to build and maintain a strong security culture when your team is distributed...
In this article we'll be talking about cloud security awareness and exploring why traditional security thinking falls apart in the cloud, and how to build a new security mindset for the cloud era. THE CLOUD SECURITY...
Welcome to AppSec Unlocked. In this article we’ll look into Secure Development Lifecycle training, or SDL. We're going to explore how to build security into every phase of your development process - from initial...
Welcome to AppSec Unlocked. In this article we'll be diving deep into what many consider the most persistent security threat: social engineering. We'll explore why humans are often called the weakest link in security -...