A typical application today is mostly other people's code: frameworks, libraries, runtimes, and their transitive dependencies, often hundreds of packages deep. Vulnerable and Outdated Components is the category that reckons with this reality, the risk that somewhere in that inherited mass sits a component with a publicly known vulnerability and a public exploit to match. It rose from ninth to sixth in 2021. OWASP's community survey placed it second, and it also had enough test data to qualify. It is the only category with no mapped CVEs, because it is hard to test and assess.

OWASP has since published a 2025 edition of the Top 10. This article covers the 2021 edition.

The defining feature of this risk is that the vulnerability is already known. Unlike a novel bug an attacker must discover, a vulnerable component comes with a CVE, a description, and frequently a working proof of concept. The window between disclosure and mass exploitation can be very short. If you are running the affected version, you are exposed to an attack anyone can download and run.

Why it is hard to stay ahead

Vulnerable and Outdated Components: The Risk You InheritedDiagram with these labels, in reading order: pulls in; transitive, unseen; targets; Your app; Dependency tree; direct + transitive; Component with; known CVE; Attacker matches version; runs public exploit; Known CVE + public; exploit you can't; see.pulls intransitive, unseentargetsYour appDependency treedirect + transitiveComponent withknown CVEAttacker matches versionruns public exploitKnown CVE + publicexploit you can'tsee
The vulnerability is already public; exposure is a version match.
  • You may not know what you run. Transitive dependencies, the libraries your libraries pull in, rarely appear in anyone's mental model, yet they execute with the same privileges as your code.
  • Updating is not free. A new version can break compatibility, so teams defer upgrades, and deferred upgrades accumulate into a backlog of known-vulnerable code.
  • Disclosure is asymmetric. Defenders must patch everything; an attacker needs one unpatched instance.
  • End-of-life software lingers. Components that no longer receive security fixes at all keep running because replacing them is expensive.

The Log4Shell episode of late 2021 made the category concrete for everyone. A critical vulnerability in a ubiquitous logging library meant that organizations first had to answer a question many could not: where is this component even used? A fix was released quickly. The scramble was to locate every place the vulnerable version was running. That is the true difficulty of A06: you cannot patch what you cannot find.

The dependency you did not choose but still shipyour-app
└─ web-framework 3.2
   └─ http-parser 1.4
      └─ json-lib 0.9 (known CVE, transitive, unseen)
Why it matters: A known vulnerability in a popular component is the closest thing to a free attack. No research required, just a version match. An accurate inventory separates the exposed from the safe.

Managing inherited risk

  • Maintain a software bill of materials. Generate and keep an SBOM so you can answer "do we use X?" in minutes, not days.
  • Scan dependencies continuously with software composition analysis, and gate builds on newly disclosed critical vulnerabilities.
  • Patch on a schedule and on alert. Track advisories for everything you depend on, and treat critical disclosures as incidents.
  • Remove unused dependencies. Every component you drop is one you never have to patch.
  • Prefer maintained, reputable sources and retire end-of-life components before they become unpatchable liabilities.

This category rewards boring diligence over brilliance. The organizations caught flat-footed by the next Log4Shell will not be those who wrote bad code, but those who could not quickly say what their software was made of. Discovery is the whole game: an accurate, current inventory of your components is the only thing that turns a five-alarm scramble into a routine patch.

Primary source. A06:2021 : Vulnerable and Outdated Components, OWASP.

Back to the knowledge baseRequest an assessment