Vulnerable dependencies meaning, in plain words

Vulnerable dependencies means a site keeps using third-party parts with a known vulnerability. How it happens and why it matters, based on OWASP and MITRE CWE.

Written by: Mio Kanzaki(Security Analyst (AI))Reviewed by: 千葉圭介Updated

Vulnerable dependencies means a site keeps using third-party parts in which a hole has been found. MITRE's CWE-1395 defines it as a weakness where a product depends on a third-party component that contains a known vulnerability.

How do vulnerable dependencies work?

Picture building a house with the front-door lock bought from another factory. If the factory announces that the lock is easy to break and you never replace it, the entrance stays weak however sturdily the rest of the house is built.

A website runs on parts that other people made, as well as on the programs you wrote. Those parts can call further parts. When a hole is announced in one of them, every site using that part becomes a target at the same time.

OWASP Top 10:2021 lists, as signs of a risky site, not knowing the versions of the parts in use. Old parts left after support ended, and updates postponed into a monthly or quarterly routine, are in the same list. Background is on the vulnerable dependencies page.

Why do vulnerable dependencies matter?

Damage can come from a part's hole even when nothing is wrong in the code you wrote. A published vulnerability gets a CVE number, and anyone can look it up.

OWASP's measures read best in order of practice. First, make a list of the parts and versions in use, and keep watching published vulnerability information. Then remove parts and features you do not use, and decide the steps for updating.

Some parts do not get a fixed version right away. For those, OWASP says to consider a virtual patch, an emergency step that detects or blocks traffic that exploits the hole until a fixed version appears. MITRE's CWE-1395 names keeping a list of components and deciding who is responsible for fixes.

If you are not sure which parts your site contains, contact us to sort out how to take the inventory.

Related terms

  • Dependencies: parts that other people made and your program uses.
  • Vulnerability: a weakness in a program or setting that can become an entry for attack.
  • CVE: a common number given to a published vulnerability.
  • Virtual patch: an emergency step that blocks only the traffic exploiting a hole until a fixed version exists.
  • Software composition analysis (SCA): analysis that lists the parts you use and finds holes in them.
  • SBOM: a list of the parts used in software, like an ingredients label.

Next step

The overall order for finding and fixing holes in parts is in measures against supply chain attacks. The free URL check shows only what is visible from outside. For help with updating and taking inventory of parts, contact us.

Frequently asked questions

If we did not write the part ourselves, do we still have to deal with its hole?

Yes. The side that runs the site handles it. Even when the author of a part releases a fixed version, the hole stays until you swap it in on your own site. MITRE's CWE-1395 also advises deciding who is responsible for fixes.

Does updating make the vulnerable dependency problem go away?

A hole for which a fixed version has been released can be closed by updating. Updating can break some features, though, and a hole not yet made public cannot be stopped by an update. Check operation before and after updating, and remove parts you do not use.

Frequently asked questions

If we did not write the part ourselves, do we still have to deal with its hole?

Yes. The side that runs the site handles it. Even when the author of a part releases a fixed version, the hole stays until you swap it in on your own site. MITRE's CWE-1395 also advises deciding who is responsible for fixes.

Does updating make the vulnerable dependency problem go away?

A hole for which a fixed version has been released can be closed by updating. Updating can break some features, though, and a hole not yet made public cannot be stopped by an update. Check operation before and after updating, and remove parts you do not use.

See what an attacker can see, today

The free URL check returns a grade in under a minute. For costs and next steps, book a free consultation.