Scrivio Interview library
ScenarioIntermediate7 min read · updated 12 November 2026

Your CI pipeline fails builds on any critical CVE, and teams now spend days on findings that do not affect them. How would you redesign the policy?

A policy that fails every build on any critical CVE treats all findings as equally urgent and makes every team pay for every finding, whether it affects them or not. We redesign it around risk: triage by exploitability and reachability rather than CVSS alone, allow reviewed suppressions that have an owner and an expiry date, record not-affected decisions as VEX statements, fail builds only on new findings introduced by the change, track existing findings with deadlines, and fix shared dependencies once at the source by upgrading the platform BOM.

Why this question is asked

A blocking security gate is easy to introduce and very hard to live with. The first week it catches real problems; by the third month, teams discover that a library they barely use has a critical CVE, the fix needs a framework upgrade, and their unrelated feature cannot ship. They start suppressing findings in bulk, and the gate stops protecting anyone. Interviewers ask this scenario because it tests whether we can keep security real without stopping delivery. In this answer, we will see why the current policy fails, then rebuild it in steps: triage by real risk, controlled suppressions, VEX, a gate on new findings with deadlines for old ones, and fixes at the platform level.

1Why Failing on Every Critical CVE Backfires

The current rule mixes up two questions. Is there a vulnerable component in this build? and Did this change make us less safe? A developer fixing a typo in a controller gets a failed build because a CVE was published last night against a transitive dependency that has been there for two years. The change did not create the risk, and the developer usually cannot fix it alone, because the fix needs a version only available with the next Spring Boot release.

CVSS alone also overstates many findings. The score describes the vulnerability in general: a 9.8 for a deserialization flaw is critical for an application that deserializes untrusted data and irrelevant for one that never does. When most blocked builds turn out to be irrelevant, people learn that the gate is noise, and the real findings get suppressed along with the rest. So the redesign has two goals: block only what a change introduces, and make sure every existing finding still has an owner and a deadline.

2Triage by Exploitability and Reachability

We give each finding a priority from several signals, not from CVSS alone. Is the vulnerability known to be exploited in the wild, for example on CISA's Known Exploited Vulnerabilities list? What is its EPSS score, an estimate of the probability that it will be exploited in the next month? Is the service exposed to the internet or only internal? And is the vulnerable code reachable: do we call the affected function, use the affected feature, or pass untrusted input to it?

Reachability is the most expensive signal, so we use it selectively. Some tools analyse call graphs automatically; otherwise a developer checks the advisory's description against how the library is used. The result is a short written decision, which we store so that the next team using the same library does not repeat the work.

Step throughDeciding what a finding means for us
  1. Known exploited, or high EPSS?
    Yesurgent: fix or mitigate within daysNocontinue
  2. Vulnerable function or feature used?
    Yesfix within the severity deadlineNorecord not affected as VEX
  3. Fix available in the platform BOM?
    Yesadopt the BOM versionNotime-boxed suppression with an owner
  4. Re-evaluate when the advisory or our code changesdecisions expire; they are not forever

4 steps in order. Play them, or step through them one at a time.

3Suppressions With an Owner and an Expiry

Teams need a way to say, this finding does not block us, but the way must be visible and temporary. Every suppression goes through a pull request, names the person who approved it, gives a reason, and carries an expiry date. OWASP Dependency-Check supports exactly this with an until attribute in its suppression file; other scanners have ignore files with similar fields or let us enforce them in review.

XML
<!-- dependency-check-suppressions.xml, reviewed like code -->
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
<suppress until="2027-01-31Z">
<notes>Owner: payments-team (j.doe). XML entity flaw; we never parse XML with this
library. Revisit when platform BOM 2026.12 ships the fixed version.</notes>
<packageUrl regex="true">^pkg:maven/com\.example/report-lib@.*$</packageUrl>
<cve>CVE-2025-12345</cve>
</suppress>
</suppressions>
// Before 2027-01-31: finding is reported as suppressed, build passes
// After 2027-01-31: suppression expires, finding is active again

Notice that the expiry is what makes this safe. A suppression cannot quietly become permanent; on the expiry date the finding returns, and someone must look again. We also track how many suppressions each team has and how often they are renewed, which tells us where the platform needs to help.

4Recording Not Affected With VEX

VEX, the Vulnerability Exploitability eXchange, is a standard way to state whether a product is affected by a vulnerability and why. A VEX statement says, for example, that service orders version 4.2.1 is not affected by CVE-2025-12345 because the vulnerable code is not in its execution path. Formats include OpenVEX and the VEX support in CycloneDX, and scanners such as Trivy can read VEX documents and drop findings they cover (check your scanner's version for the supported formats).

Java
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://security.acme.example/vex/orders-2026-11-05",
"author": "payments-team",
"timestamp": "2026-11-05T10:00:00Z",
"version": 1,
"statements": [{
"vulnerability": { "name": "CVE-2025-12345" },
"products": [{ "@id": "pkg:maven/com.acme/orders@4.2.1" }],
"status": "not_affected",
"justification": "vulnerable_code_not_in_execute_path",
"impact_statement": "report-lib is used only for CSV export; its XML parser is never called."
}]
}

The difference from a suppression is purpose. A suppression is our internal decision not to block a build. A VEX statement is a reusable, machine-readable claim that we can share with the security team, with auditors and with customers who scan our software, so that they do not raise the same finding again.

5Gate on New Findings, Track the Old Ones With Deadlines

Now the build gate becomes fair. It compares the findings of this build with those of the main branch and fails only when the change adds a vulnerable dependency or upgrades to a vulnerable version. A developer who adds a library with a known critical CVE is stopped, because that is a decision made in this change. A developer fixing a typo is not.

Existing findings move out of the build and into tracking. Each is assigned to the owning team with a deadline that depends on severity and exposure, for example 7 days for a known exploited vulnerability in an internet-facing service, 30 days for other critical and high findings, and 90 days for medium ones. A dashboard shows open findings by age and team, and a finding past its deadline escalates to the team lead. This keeps the pressure on old risk without tying it to unrelated changes.

6Fix Once at the Source: The Platform BOM

Most findings are not unique to one service. The same Netty, Jackson or Tomcat version is in 200 services because they all use the same Spring Boot version or the same company platform BOM. Asking 200 teams to override the version separately is slow and error-prone. Instead, the platform team upgrades the version once in the BOM, tests it, releases it, and automated pull requests from Renovate or Dependabot bring it to every service.

So when we measure the redesigned policy, two numbers matter most: how many findings were fixed by a BOM release rather than by individual teams, and the median age of open critical findings. If both move the right way and blocked builds drop, the policy is doing its job.

7Follow-up questions

Isn't allowing suppressions just a way to ignore vulnerabilities?

Not when they are controlled. Each suppression is reviewed, names an owner and a reason, and expires, so it is a recorded, temporary risk decision rather than silent ignoring. The current situation, where teams mark findings as won't fix in bulk to unblock builds, is far worse, because nobody reviews those decisions and they never expire.

What would still block a build under the new policy?

Any change that introduces a new vulnerable dependency or version above the agreed severity, any known exploited vulnerability regardless of whether it is new, and expired suppressions in the service's own code. Those are cases where the change itself creates or ignores risk, so blocking the merge is the right place to catch it.

How do you get security to agree to this?

By showing that the current policy produces worse security outcomes: bulk suppressions, findings with no owner, and old critical issues that nobody tracks. The new policy gives security what it needs, an owner and deadline for every finding, visible exceptions and faster fixes through the BOM, in exchange for not blocking unrelated changes. We agree the deadlines and exception rules with security and review them together after a quarter.

8Conclusion

In this answer, we saw that failing every build on any critical CVE blocks changes that did not create the risk and teaches teams to suppress findings in bulk. The redesign triages by exploitability and reachability, allows reviewed suppressions with an owner and an expiry date, records not-affected decisions as VEX, fails builds only on findings the change introduces, gives existing findings owners and deadlines, and fixes shared dependencies once through the platform BOM.

What to say in the interviewAbout 80 seconds aloud

Open with

The current policy confuses two questions: is something vulnerable in this build, and did this change make us less safe. So teams are blocked by CVEs published overnight in dependencies they did not touch, and they respond by suppressing everything.

Then, if they want more

I would redesign it in a few steps. First, triage by real risk rather than CVSS alone: known exploitation, EPSS, internet exposure and whether the vulnerable function is actually reachable. Second, allow suppressions, but only through review, with a named owner, a reason and an expiry date, which Dependency-Check supports directly with its until attribute.

Third, record not-affected decisions as VEX statements, so the reasoning is machine-readable and reusable by security, auditors and scanners. Fourth, change the gate so builds fail only on new findings introduced by the change, while existing findings are tracked per team with deadlines, for example 7 days for known exploited, 30 for critical and high, 90 for medium.

Finally, fix shared vulnerabilities once by upgrading the platform BOM and rolling it out with automated pull requests. I would agree these rules with security and measure blocked builds, suppression counts and the age of open critical findings.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Your CI pipeline fails builds on any critical CVE, and teams now spend days on findings...": https://scrivio-interview-library.netlify.app/java/dependency-and-supply-chain/8de4e2c589/