- PROTECT
Log4Shell: the flaw that lived in software nobody knew they ran
A look back at the 2021 Log4j crisis and why knowing every component in your software inventory is the only way to stay ahead of internet-wide attacks.
Marquis Carroll, Founder · · Last reviewed · 6 min read

About this series
A weekend that changed security
In December 2021, a critical flaw was discovered in a small piece of software called Apache Log4j. To most business owners, the name meant nothing. But Log4j was a logging tool used in millions of Java-based applications, from massive cloud platforms to the small software tools used in local accounting offices.
The flaw, known as Log4Shell (CVE-2021-44228), allowed attackers to take full control of a server by sending a simple string of text. Because this component was so widely used, the internet effectively caught fire overnight. Attackers began scanning the entire globe within hours of the public announcement, looking for any server that would respond to their malicious commands.
The invisible dependency problem
The real crisis of Log4Shell was not just the flaw itself, but that almost no one knew they were running it. Log4j was a 'dependency'—a building block that software developers use so they do not have to write every function from scratch. When a business bought a piece of software for inventory management or payroll, they were also buying dozens of these hidden building blocks.
For weeks, IT teams at small and mid-sized businesses had to play detective. They had to ask their vendors: 'Do you use Log4j?' Many vendors did not even know the answer immediately. This highlighted a massive gap in how businesses track their digital assets. If you do not know a component exists, you cannot it when it breaks.
Why speed was the only defense
Attackers used automated scripts to find and exploit vulnerable servers. They did not care who the target was; they just wanted a foothold. In many cases, the time between a server being connected to the internet and an attacker finding it was less than an hour. For a business, this meant that traditional weekly or monthly cycles were far too slow.
The lesson for today is that security is a race against automation. Small businesses cannot rely on manual checks. They need a clear list of what software they run and a way to apply critical security updates as soon as they are released by the vendor.
Steps to secure your software inventory
- Create a central list of all software and hardware your business uses. You cannot protect what you cannot name.
- Ask your key software vendors for a Software Bill of Materials (SBOM) or a statement on how they manage third-party components.
- Enable automatic updates for all core business software, especially web-facing tools and servers.
- Use a security tool that scans your network for known vulnerabilities, rather than waiting for a vendor to tell you there is a problem.
A checklist for vendor security
What Log4Shell means for you today
Log4Shell was a wake-up call that proved how interconnected the software world is. A flaw in a single open-source tool can threaten a business thousands of miles away that has never even heard of it. The businesses that recovered fastest were those that had a clear map of their systems and could move quickly when the news broke.
Today, the same risks exist in thousands of other shared components. Managing these risks requires more than just buying a firewall; it requires an active understanding of the software that runs your business operations every day.
What to do next
- 01Build a basic inventory of every software tool your team uses.
- 02Review your critical vendors to see if they provide security updates automatically.
- 03Schedule a vulnerability scan to find hidden risks on your network.
