Systems architecture and security

A vulnerable dependency does not, by itself, tell you how much risk exists

From a security alert to a decision that considers exposure, context and consequences.

A vulnerable dependency does not, by itself, tell you how much risk exists

The unexpected alert

A supplier publishes a critical vulnerability in a library used by several applications. The team receives an automated list of affected components and an instruction to update everything urgently. Priority, however, cannot be set solely by the technical score assigned to the alert.

The dependency chain

An application may incorporate libraries directly or through other components. The inventory, the versions actually deployed and the runtime environments help establish where exposure exists. A software bill of materials (SBOM) can help locate dependencies, but it does not replace an examination of configuration, accessibility and how the software operates.

Exposure and plausible harm

Not every affected installation gives an attacker the same opportunities. Exploitation vectors, intermediate controls, the data and processes involved, and the availability of mitigations all matter. Not observing exploitation does not mean it is impossible; nor does a critical alert mean that every system must be stopped immediately.

Priority classifications must be capable of changing when new indicators emerge. A component initially considered non-exploitable may become exposed after an architectural change; a temporary mitigation may expire without anyone noticing. It is useful to separate the immediate containment decision from the permanent fix and to test the rollback of significant changes. This prevents pressure to close alerts from turning the vulnerability inventory into a list of tickets disconnected from the system's actual state.

Decisions under uncertainty

When an immediate update is not feasible, it may be necessary to apply temporary mitigations, restrict access, increase monitoring and set a documented remediation deadline. Every compensating measure introduces costs and risks; for example, a rushed patch may interrupt a critical service. The decision must be explained and reviewed when new information arrives.

What should be auditable

It is useful to retain the original alert, the inventory of affected assets, the prioritisation criteria, the tests performed and the outcome of the update. Closing a ticket is not enough: the team must check that the vulnerable version is no longer in use or that the exception remains under control.

Technical severity is a signal to investigate, not a substitute for risk analysis. A sound response identifies the actual scope, makes an evidence-based decision and verifies the outcome.

An alert is not the same as a confirmed exploit

Imagine an automated scan identifies a vulnerable library within a customer-service application. The vulnerability identifier and its score help locate the problem, but important questions remain: is the library actually loaded in production? Is the affected function used? Can a third party reach that code? Is there authentication or segmentation between the attacker and the component? Two teams receiving the same alert may set different priorities because their architectures and data are different.

This does not mean using context as an excuse to postpone an update indefinitely. It means turning a general finding into a verifiable operational decision. The assessment should identify the assumptions used and be reviewed when conditions change. A function that runs only on an internal network today could be exposed tomorrow through a new endpoint, an integration or a change in permissions. Risk changes even when the version number stays the same.

Coordinated work between development and operations

Updating a dependency may require changing other libraries, adjusting an API or rebuilding a component. A junior team often discovers that ‘bumping the version’ involves more than editing a dependency file. Before deployment, it is worth checking compatibility, running automated tests, inspecting startup errors and validating the most important business workflows. In critical systems, it may be appropriate to test first in a limited environment and retain a rollback procedure.

It is also important to distinguish a permanent fix from a temporary measure. Blocking a vulnerable route or restricting a permission may reduce exposure while a patch is prepared, but work remains outstanding. The decision should have an owner, a review date and conditions that require earlier action. Otherwise, exceptions become permanent configurations that nobody remembers. A good record links the technical finding to the decision, the person responsible and evidence that the control works.

Sufficient evidence to close the case

Closing a ticket does not, by itself, prove that the system has been fixed. Old container images may remain, services may not have been restarted, or parallel deployments may still use a vulnerable version. A reasonable validation compares the code, the built artefact and the version actually running. It also checks whether the system continues to perform its intended functions after the change.

This approach avoids another simplification: treating security as a list of open or closed alerts. The useful question is whether the harmful scenario has actually been reduced and what is known about it. A reliable inventory, deployment records and repeatable tests make it possible to explain this to a business owner or auditor without requiring them to know every detail of the code.

Further reading: OWASP · NIST Cybersecurity Framework 2.0