How to prioritize the improvement of open-source software security – Brookings Institution
Earlier this year, major technology companies, non-profits, and government agencies convened for an urgent meeting at the White House to discuss how best to address the security concerns posed by free and open-source software (FOSS)software that is developed by a distributed community rather than a centralized company. For years, tech companies and security experts have made the case for greater investments in the security of the FOSS ecosystem, as it has become an increasingly important part of critical digital infrastructure. The importance of doing so was highlighted by the recent Log4Shell vulnerability in the log4j FOSS package. Deployed across a vast range of digital applications, log4j exposed a huge amount of software to a devastating security vulnerability and illustrated the urgent need to improve security in open-source software.
FOSS is decentralized and free to use, so when security vulnerabilities are found it is difficult to determine the exact extent of the threat. Perhaps the most vexing part of the problem is that it is difficult to know which FOSS packages are most widely used (and therefore most concerning if a vulnerability is found in a given package). This lack of knowledge about which FOSS packages are deployedand whereleaves defenders in the dark and makes hard decisions about where to deploy resources even more difficult.
To address this problem, our team at the Laboratory for Innovation Science at Harvard (LISH) has partnered with the Linux Foundation and the Open Source Security Foundation (OpenSSF) to determine which FOSS packages are most widely deployed. Our findings, documented in a report released today, provide a detailed look at which FOSS packages are deployed in production applications and offer a number of lessons for policymakers and developers about how to improve the security of a critical building block of the digital economy.
First released in 1999, log4j is a FOSS component that carries out logging tasks for other pieces of software built on top of it. For example, if a developer of a piece of software needs to log all activity in an application for auditing or debugging purposes, she can utilize the log4j component so she does not have to build such logging functionality from scratch. log4j is extremely popular and is used in production software at companies including Apple, Google, Amazon, Twitter, and Tesla.
As early as 2013, a bug was introduced in the log4j code that treated logged text as code and executed it on the underlying system. Thus, an attacker would simply need to perform an action that would be logged (e.g., changing their username, writing a message in a chat, etc.) using a specific line of code, which would then be executed by the system, including reaching out to a server on the internet and downloading and running a piece of malicious code hosted there. Discovered in November 2021 by a member of Alibabas security team, the vulnerability was named Log4Shell.
The widespread use of log4j (potentially tens of millions of devices), combined with the ease of exploitation (a simple line of code), created a worst-case scenario. To that end, Jen Easterly, the director of the United States Department of Homeland Security (DHS) Cybersecurity and Infrastructure Security Agency (CISA) called Log4Shellthe most serious vulnerability Ive seen in my decades-long career. Within days of the release of the patch (long before most organizations could install it), there were over 800,000 attacks in a 72-hour period. Chinese and Iranian government-sponsored actors were observed taking advantage of the vulnerability.
The Log4Shell vulnerability is an important example of a much larger issue. FOSS has become a critical building block of the modern economy. However, its distributed and decentralized nature leaves it susceptible to significant bugs that can go unnoticed by developers for years. Further, and even more concerning, is that when such a vulnerability is found, because FOSS is built into nearly every software system, but is not well tracked, it may be difficult to identify all vulnerable instances of the software that are in production.
Prioritizing efforts to address the issue
To determine which FOSS packages are the most widely used (and therefore, the most concerning if a vulnerability is found in them) our team at LISH teamed up with the Linux Foundation and the OpenSSF. We worked with software composition analysis (SCA) companies to aggregate data on the most widely used FOSS packages. SCAs are hired by their customers to scan their codebases to help ensure they are not violating any software licenses. Therefore, by working with just a handful of SCAs, we were able to get insights into FOSS built into products sold by thousands of companies. While this method allowed us to get deep insights into the FOSS companies build into their software, this is only one layer of the technology stack, albeit an important one. In future studies we will consider other layers in the stack.
By identifying the most widely used FOSS packages, we hope to improve efforts to enhance the security of FOSS packages by looking for vulnerabilities in the most popular FOSS packages first. (Our final report can be found here.)
To ensure the privacy of the data shared by the SCAs, and to account for different size customer bases across the SCAs, we utilized statistical z-scores to aggregate the data and organize it such that we could rank-order the FOSS packages observed. Since the FOSS packages that developers build into their software frequently rely on other FOSS packages themselves, we considered both the direct observations of FOSS packages developers built upon, as well as the indirect FOSS packages those packages iteratively rely upon. Additionally, due to the differences in norms in computer programming languages related to the number of functions in a given package (and therefore how many packages a piece of software relies upon), we considered the npm repository (which hosts JavaScript packages) separately from all other repositories and languages. Not doing this would have caused JavaScript packages to incorrectly dominate the list. Finally, we considered FOSS packages in both a versioned and version-agnostic manner such that different levels of granularity could be observed.
In aggregate, we analyzed nearly 600,000 data points from the SCAs, and compiled lists documenting the 500 most used FOSS packages, one for each combination of direct/indirect, npm/non-npm, and versioned/version-agnostic packages. Although this more granular approach makes it harder to precisely say which FOSS packages are the most widely used, it provides more insight into the intricacies of the ecosystem. For example, log4j showed up as number 38 on our list of direct, non-npm, version-agnostic packages, but as number 126 on our list of indirect, non-npm, version-agnostic packages. Moreover, FOSS packages whose primary purpose are to pass data to a logger, potentially including log4j, (e.g., slf4j-api and log4j-api) showed up even higher on our lists (slf4j-api was number 1 on our list of direct, non-npm, version-agnostic packages). However, without deeper insights into how such packages were being used, it was not possible to know if they were relying on a vulnerable version of log4j.
The complexities of log4j became even more intricate when considering version numbers. By a nearly 3 to 1 margin, version 1.x of log4j was much more widely used than version 2.x. However, the Log4Shell vulnerability did not impact version 1.x, and therefore the bulk of log4j users in our dataset were not actually susceptible to the Log4Shell issue (although there are numerous vulnerabilities in the 1.x versions that remain unfixed since it has not been updated since 2015). In aggregate, despite the complexities of our results, they allow for an intricate understanding of the Log4Shell problem, and our hope is that they will also shine light on similar intricacies to help prevent such widespread vulnerabilities in the future.
Our report also identifies a number of high-level issues that need to be addressed if the FOSS ecosystem is to be properly secured:
The scale and scope of the vulnerabilities affecting FOSS packages have been known within the tech community for years. However, it is only recently that federal policy has reflected the importance of this issue to the economy and national security. A May 2021 executive order, for example, directed the U.S. National Institute for Standards and Technology (NIST) to provide guidance for companies on providing a software bill of materials (SBOM) to their customers. An accurate SBOM would give companies deeper insights into the software that is baked into their software, so they would know if they are vulnerable to issues like Log4Shell immediately. Other measures have been considered but failed to be made into law. Funding a FOSS security center within the Department of Homeland Security, for example, was included in the House version of the 2022 National Defense Authorization Act but didnt make it into the final bill.
In response to the Log4Shell vulnerability, the White House National Security Council, held a meeting in January with firms like Google and Microsoft, open-source organizations including the Linux Foundation, the Apache Software Foundation, and OpenSSF, and numerous federal agencies and departments. The meeting focused on preventing, finding, and shortening response time to FOSS vulnerabilities and discussed various potential public-private partnerships. Although there were no concrete pledges from the meeting, the intent was to start a discussion, identify possible paths forward, and commit to future meetings that would yield specific commitments by the various stakeholders.
The Log4Shell issue has also garnered the attention of the U.S. Federal Trade Commission (FTC), which has threatened to fine companies that fail to patch the issue and lose customer data as a result. While the FTCs move may encourage many companies to address the security issue, the fact that the FTC is playing a leading role in the response illustrates that the government lacks broad tools to address major cybersecurity vulnerabilities like Log4Shell.
Log4Shell was by no means the first major vulnerability in FOSS, but hopefully it represents a turning point that will inspire the federal government to take action to address this complex problem. Numerous private entities have already joined the effort by sponsoring FOSS projects and security improvement endeavors including Googles Secure Open Source Rewards, the Plaintext Group/Schmidt Futures FOSS Virtual Incubator and the efforts of the OpenSSF like their recently announced Alpha-Omega Project (sponsored by Microsoft and Google). Such efforts are important, but public support for research and legislation leading to more secure FOSS is critical and cannot come soon enough.
Frank Nagle is an assistant professor of business administration at Harvard Business School. His research is supported in part by the Linux Foundation.
Amazon, Google, and Microsoft provide financial support to the Brookings Institution, a nonprofit organization devoted to rigorous, independent, in-depth public policy research.
More here:
How to prioritize the improvement of open-source software security - Brookings Institution
- 8 free Linux apps that are surprisingly useful - no command line required - ZDNET - October 4th, 2025 [October 4th, 2025]
- We Finally Have Free Anti-Robocall Tools That Work - The New York Times - October 4th, 2025 [October 4th, 2025]
- Illinois State Bar Association Offering Free Trust Accounting & Billing Software to All Members With Smokeball Bill - Illinois State Bar... - October 2nd, 2025 [October 2nd, 2025]
- Suffolk tech giant pledges $10m to give charities free software for life - Ipswich.co.uk - October 2nd, 2025 [October 2nd, 2025]
- Eventide Temperance Lite, "the world's first musical reverb plugin": free download for a limited time - synth anatomy - October 2nd, 2025 [October 2nd, 2025]
- Windows 10 extended support is now free, but only in Europe Microsoft capitulates on controversial $30 ESU price tag which remains firmly in place... - September 30th, 2025 [September 30th, 2025]
- You can now install iOS 26 on your iPhone: Everything to know about the free software update - Engadget - September 30th, 2025 [September 30th, 2025]
- Turns out, Microsoft will offer Windows 10 security updates for free until 2026but unfortunately not in the US or the UK - PC Gamer - September 30th, 2025 [September 30th, 2025]
- Free Alternatives to Photoshop and Word: How to Save on Software - 112.ua - September 30th, 2025 [September 30th, 2025]
- Delete those pricey programs with our four tips to help you find the best bargain software solutions - The Sun - September 30th, 2025 [September 30th, 2025]
- BlueCruise is Getting Better for Current Truck Owners - Ford From the Road - September 28th, 2025 [September 28th, 2025]
- Best typing tutor software of 2025 - TechRadar - September 25th, 2025 [September 25th, 2025]
- You can update your iPhone to iOS 26 for free right now - here's which models support it - ZDNET - September 25th, 2025 [September 25th, 2025]
- This is the best photo editing software to use in 2025 - Amateur Photographer - September 25th, 2025 [September 25th, 2025]
- From Abuse to Alignment: Why We Need Sustainable Open Source Infrastructure - Sonatype - September 25th, 2025 [September 25th, 2025]
- Think you've seen the weirdest place to play DOOM? Think again - Creative Bloq - September 23rd, 2025 [September 23rd, 2025]
- OpenSSF to freeloaders: Open source infra isn't free - theregister.com - September 23rd, 2025 [September 23rd, 2025]
- I transformed our LAN gaming setup with a mini PC and free software - XDA - September 21st, 2025 [September 21st, 2025]
- iOS 26 is ready to download: Everything to know about the free iPhone software update - Engadget - September 21st, 2025 [September 21st, 2025]
- Filmmakers - you can now storyboard your next movie totally free with this software - Yahoo! Tech - September 21st, 2025 [September 21st, 2025]
- Oak Creek Police Crime Analyst Wins Top International Award with Innovative Free Software Dashboard - Hoodline - September 21st, 2025 [September 21st, 2025]
- Molecularbytes Atomicreverbfree, a free algorithmic reverb for macOS and Windows - synth anatomy - September 19th, 2025 [September 19th, 2025]
- Meadows Introduces Free Imposition Software for Adobe InDesign - PRWeb - September 19th, 2025 [September 19th, 2025]
- Lucid just gave its EV owners a free dash cam mode and Tesla-style parking monitor all from a software update - TechRadar - September 19th, 2025 [September 19th, 2025]
- My Google Pixel just updated and is better than ever get your free software upgrade now - T3 - September 19th, 2025 [September 19th, 2025]
- NLSIU study hails Keralas KITE as key model for implementing Free and Open Source Software (FOSS) - The Times of India - September 19th, 2025 [September 19th, 2025]
- These are the top free Windows tools that I use on a daily basis to boost my productivity - Tom's Hardware - September 17th, 2025 [September 17th, 2025]
- iOS 26 is finally here: Everything to know about the free iPhone software update - Engadget - September 17th, 2025 [September 17th, 2025]
- When does iOS 26 come out? Date and time you can download the new iPhone operating system around the world - Fast Company - September 17th, 2025 [September 17th, 2025]
- Why Pie Is Becoming the UKs Go-To Free Tax Software in 2025 - The Globe and Mail - September 13th, 2025 [September 13th, 2025]
- iOS 26: What to know about the free iPhone software update ahead of the Apple event today - Engadget - September 11th, 2025 [September 11th, 2025]
- I built a photo editing workflow with nothing but free and open-source tools - xda-developers.com - September 9th, 2025 [September 9th, 2025]
- TapeFi Stop, free vinyl stop simulator plugin for macOS and Windows - synth anatomy - September 9th, 2025 [September 9th, 2025]
- Farming Simulator 25 Releases Third Free Update - Bleeding Cool News - September 6th, 2025 [September 6th, 2025]
- One of the biggest names in video editing is coming to smartphones and it's free. Meet Premiere Pro for mobile - Digital Camera World - September 5th, 2025 [September 5th, 2025]
- Microsoft wants to give US government Copilot for free - theregister.com - September 3rd, 2025 [September 3rd, 2025]
- I Thought My Gmail Inbox Was Toast. Then I Got Back 15GB of Free Storage - CNET - September 3rd, 2025 [September 3rd, 2025]
- The Truth About KMSPico Downloads: Risks and Better Alternatives - inkl - September 3rd, 2025 [September 3rd, 2025]
- Artistapirata Download Free Programs, Games, and Software in 2026 - nerdbot - August 29th, 2025 [August 29th, 2025]
- Cognyte Software Ltd. stock prediction for this week - July 2025 Closing Moves & Free Low Drawdown Momentum Trade Ideas - Newser - August 29th, 2025 [August 29th, 2025]
- Analyzing Upland Software Inc. with multi timeframe charts - Forecast Cut & Free Growth Oriented Trading Recommendations - Newser - August 29th, 2025 [August 29th, 2025]
- Can Upland Software Inc. recover in the next quarter - Options Play & Free Growth Oriented Trading Recommendations - Newser - August 27th, 2025 [August 27th, 2025]
- Custom watchlist performance reports with Asure Software Inc. - Weekly Market Summary & Reliable Breakout Stock Forecasts - Newser - August 27th, 2025 [August 27th, 2025]
- Is Paycom Software Inc. forming a reversal pattern - Trend Reversal & Free Reliable Trade Execution Plans - Newser - August 27th, 2025 [August 27th, 2025]
- What the charts say about CyberArk Software Ltd. today - Weekly Volume Report & Free Reliable Trade Execution Plans - Newser - August 26th, 2025 [August 26th, 2025]
- Is this a good reentry point in Guidewire Software Inc. - 2025 Market Sentiment & Free AI Powered Buy and Sell Recommendations - Newser - August 26th, 2025 [August 26th, 2025]
- Trend analysis for OneStream Software LLC this week - Weekly Trend Summary & Free Expert Approved Momentum Trade Ideas - Newser - August 24th, 2025 [August 24th, 2025]
- Detecting price anomalies in Paycom Software Inc. with AI - July 2025 Volume & Free Community Supported Trade Ideas - Newser - August 24th, 2025 [August 24th, 2025]
- Using AI based signals to follow Unity Software Inc. - July 2025 Breakouts & Free Verified High Yield Trade Plans - Newser - August 24th, 2025 [August 24th, 2025]
- Best graphic design software of 2025: Top picks tested for creative professionals and beginners - TechRadar - August 22nd, 2025 [August 22nd, 2025]
- Garmin Fenix 8 and Venu X1 get free software update that includes top features for runners and triathletes - Tom's Guide - August 22nd, 2025 [August 22nd, 2025]
- 6 Free and Open-Source Software for Creating Stunning Presentations - How-To Geek - August 18th, 2025 [August 18th, 2025]
- "It's one of the most powerful software sound design tools on earth and it's free": Try out this modular audio processing playground used... - August 18th, 2025 [August 18th, 2025]
- BetBlocker and ROGA Partner to Expand Free Gambling Blocker Access in the U.S. - European Gaming Industry News - August 14th, 2025 [August 14th, 2025]
- Hyundai & Kia thefts are down, Camaro ZL1 thefts are up, and a software glitch may be to blame. - wfmynews2.com - August 14th, 2025 [August 14th, 2025]
- There Is No Such Thing as Free Technology Software Solutions - ICTworks - August 12th, 2025 [August 12th, 2025]
- UnplugRed ModMan, a free perlin noise modulation plugin for mac, Linux and Windows - synth anatomy - August 12th, 2025 [August 12th, 2025]
- HY-Plugins HY-MBMFX3, multiband multi-FX plugin with modulation & free version - synth anatomy - August 7th, 2025 [August 7th, 2025]
- Choose the right software for Making Tax Digital for Income Tax - GOV.UK - August 3rd, 2025 [August 3rd, 2025]
- Best free PDF editor of 2025: We tested out these completely free to use apps - TechRadar - August 1st, 2025 [August 1st, 2025]
- D&D is 'here to earn your trust, not ask for it', starting with making Beyond's maps software free, brushing up the SRD, and sharing 'third-party... - August 1st, 2025 [August 1st, 2025]
- The Best Video Editing Software We've Tested (July 2025) - PCMag - July 27th, 2025 [July 27th, 2025]
- Download iOS 26 now and upgrade your iPhone to the Liquid Glass look for free - T3 - July 27th, 2025 [July 27th, 2025]
- What drives Smith Micro Software Inc. stock price - Free Smart Trading Workshop - Autocar Professional - July 24th, 2025 [July 24th, 2025]
- I've tested a bunch of PDF editors. These are the best - PCWorld - July 22nd, 2025 [July 22nd, 2025]
- V S Achuthanandan: From the freedom struggle to free software, to bringing MGR and Ilaiyaraaja he always thought of the people - The Indian Express - July 22nd, 2025 [July 22nd, 2025]
- Free, open-source software to reduce the mental workload of organic producers - Hortidaily - July 22nd, 2025 [July 22nd, 2025]
- Is OneStream Software LLC a good long term investment - Free Real-Time Stock Data - Autocar Professional - July 20th, 2025 [July 20th, 2025]
- How the Free Software Foundation Battles the LLM Bots - StartupNews.fyi - July 20th, 2025 [July 20th, 2025]
- How the Free Software Foundation Battles the LLM Bots - The New Stack - July 20th, 2025 [July 20th, 2025]
- Smith Micro Software Inc. Stock Analysis and Forecast - Free Risk Assessment Services - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Where Could Newgen Software Technologies Limited (540900) Be Headed - Free Trend-Following Techniques - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Where Could R S Software (India) Limited (RSSOFTWARE) Be Headed - Free Market Volatility Navigation Tips - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Unity Software Inc. Stock Analysis and Forecast - Free Stock Selection - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Marin Software Incorporated Stock Analysis and Forecast - Free Daily Trading Room Entry - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Where Could Integra Telecommunication and Software Limited (536868) Be Headed - Free Capital Allocation Plans - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Macro Trends and Their Impact on B2B Software Technologies Limited (531268) - Free Daily Trading Room Entry - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Macro Trends and Their Impact on Oracle Financial Services Software Limited (OFSS) - Free Trend-Following Techniques - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- Compucom Software Limited (532339)s Trend in 2025 - Free Trend-Following Techniques - jammulinksnews.com - July 20th, 2025 [July 20th, 2025]
- PTC launches aerospace & defense startup program with free software By Investing.com - Investing.com India - July 16th, 2025 [July 16th, 2025]