Dependency Vulnerability Triage Template
Process for deciding what to do when a scanner flags a CVE in a dependency: exploitability, blast radius, CVSS+EPSS+KEV scoring, patch and deploy.
Overview
A critical CVE lands in your queue on a Tuesday afternoon. Snyk flags commons-text with a 9.8, three services depend on it, and the changelog for the fix mentions “breaking changes to interpolation.” Do you hot-patch now or schedule it? That decision is exactly what this template exists for.
Triage is the process that turns a scanner finding into a decision: intake the CVE, score exploitability, measure blast radius, pick a fix timeline, test the patch, and deploy it safely. It’s the step between “scanner says vulnerable” and “ticket closed”, and it’s the part most teams improvise every single week.
This template gives you a repeatable workflow with real criteria: CVSS for severity, EPSS for exploitation probability, CISA KEV for known-active exploits, and reachability for whether your code actually calls the vulnerable path. Each section is a checkpoint you fill in per finding, ending in a decision with an SLA attached.
The flow ends in three of the four remediation options from §4.2. The fourth, accept risk, only applies when exploitability is Unlikely and impact is Low. It stays out of the chart on purpose: it ends in a signed decision and a revisit date, not in a deploy.
When to Use This Template
Use it every time a dependency scanner, Snyk, Dependabot, npm audit, OWASP Dependency-Check, Trivy — reports a CVE in a package your application ships. It fits single findings and small batches.
When not to use it:
- To document a vulnerability for stakeholders, auditors, or the fix-PR description, use the dependency vulnerability report template instead. Triage decides; the report records.
- For aggregate scan results across services and infrastructure, use the vulnerability scan report template.
- For the program-level view (trends, backlog health, SLA compliance), that’s the vulnerability management template.
- For bugs that aren’t third-party CVEs, use a bug triage process.
If the scanner fires ten findings in one run, run them all through section 1–3 quickly, then batch the same-priority ones into a single fix PR.
1. Vulnerability Intake
1.1 Triage Record
Open one record per CVE per affected component. Copy this table and fill the right column; it’s shown filled with the Text4Shell finding that the worked example below walks end to end:
| Field | Value |
|---|---|
| CVE ID | CVE-2022-42889 |
| Package / ecosystem | org.apache.commons:commons-text (Maven) |
| Affected versions | >= 1.5, < 1.10.0 |
| Fixed version | 1.10.0 |
| CVSS base score | 9.8 (Critical) |
| CVSS vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS score | 0.94 (fetch from api.first.org) |
| In CISA KEV? | no |
| CWE | CWE-94 (Code Injection) |
| Published / discovered | 2022-10-13 / 2022-10-17 |
| Scanner | Snyk, Dependabot, npm audit |
| Triage owner | security-team |
| Status | Open |
EPSS is a probability between 0 and 1: how likely the CVE is to be exploited in the wild within 30 days. Pull it with one call:
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2022-42889" | python3 -m json.tool
CISA’s Known Exploited Vulnerabilities catalog is the other ground truth: if a CVE is in KEV, it’s being exploited right now, which overrides almost everything else in this template. Check it at cisa.gov/known-exploited-vulnerabilities-catalog.
1.2 Severity Classification
CVSS gives the first-pass severity, but never decide on CVSS alone. Combine it with EPSS and KEV before assigning the SLA:
| CVSS score | Severity | Base SLA | Escalates when |
|---|---|---|---|
| 9.0 – 10.0 | Critical | 24 h | In KEV, or EPSS ≥ 0.5 → page on-call |
| 7.0 – 8.9 | High | 7 days | In KEV, or EPSS ≥ 0.5 → treat as Critical |
| 4.0 – 6.9 | Medium | 30 days | EPSS ≥ 0.5 → treat as High |
| 0.1 – 3.9 | Low | 90 days | Backlog only |
| 0.0 | None | No action | Close the record |
A CVSS 9.8 with EPSS 0.003 and absent from KEV waits for the next sprint; a CVSS 7.1 listed in KEV doesn’t. The vectors here are CVSS v3.1; when you have to re-score a finding by hand, the FIRST specification is the reference for every metric and its allowed values.
2. Exploitability Assessment
2.1 Exploitability Checklist
Answer these before scoring, reachability first since it’s the question that kills most findings:
- Is the vulnerable function actually called in production code? (Check the call path, not just the import.)
- Is the vulnerable code path reachable from user-controlled input?
- Or is it only reachable from test/dev/build tooling? (Still fix it, CI runs with your secrets — but the urgency changes.)
- Does exploitation require authentication?
- Does it require network access, or is it local-only?
- Is there a public PoC or Metasploit module?
- Is it listed in CISA KEV or reported as exploited in the wild?
- Does the exploit need a specific configuration or feature flag enabled?
- Are there compensating controls in front (WAF rules, network segmentation, input sanitization)?
2.2 Exploitability Scoring
Score each factor 0–2, multiply by the weight, and sum:
| Factor | Weight | Score guide |
|---|---|---|
| Public exploit / KEV listed | ×3 | 0 = none, 1 = theoretical PoC, 2 = active exploitation |
| Reachable from user input | ×2 | 0 = no, 1 = indirect, 2 = direct call on user data |
| No authentication required | ×2 | 0 = auth required, 1 = low privilege, 2 = unauthenticated |
| Network accessible | ×1 | 0 = internal only, 1 = DMZ, 2 = internet-facing |
| No compensating controls | ×1 | 0 = controls in place, 1 = partial, 2 = none |
| Total | Verdict | Meaning |
|---|---|---|
| ≥ 10 | Exploitable | Assume it will be attacked — patch now |
| 5 – 9 | Possible | Patch on the SLA timeline |
| < 5 | Unlikely | Track, patch in regular cycle |
This score is a forcing function for honest assessment, not science. If the finding is in KEV, the score is a formality, treat it as Exploitable regardless.
3. Blast Radius Analysis
3.1 Impact Assessment
| Impact area | Question to answer |
|---|---|
| Affected services | Which services, workers, and jobs use the vulnerable package? |
| Affected environments | prod, staging, dev — which are actually impacted? |
| Data exposure | Can it leak secrets, PII, or business data? |
| Data integrity | Can it modify stored data? |
| Availability | Can it crash the service or hang a worker? |
| Privilege escalation | Can it grant the attacker elevated access? |
| Lateral movement | Can it be a stepping stone to other systems? |
| Compliance | Does it affect PCI-DSS, HIPAA, SOC 2, or GDPR scope? |
3.2 Dependency Tree Analysis
Find where the package actually lives, direct or transitive:
# Maven — includes transitive dependencies
mvn dependency:tree -Dincludes=org.apache.commons:commons-text
# Gradle — resolved runtime classpath
gradle dependencies --configuration runtimeClasspath | grep commons-text
# npm — prints the full chain for each match
npm ls commons-text
# Python — shows parents and children of the package
pipdeptree -p requests
# Go — why a real Go module is in the build
go mod why -m golang.org/x/net
For a JavaScript transitive vuln, also check whether npm or yarn can resolve it without touching the parent:
npm audit # shows which findings have a fixable parent upgrade
3.3 Service Inventory
List every affected deployment and rank by exposure:
| Service | Version | Environment | Exposure | Priority |
|---|---|---|---|---|
| payment-api | 1.2.3 | prod | Internet | P0 |
| payment-api | 1.2.3 | staging | Internal | P1 |
| billing-worker | 0.9.1 | prod | Internal | P1 |
| admin-dashboard | 2.0.0 | prod | VPN only | P2 |
Internet-facing prod wins ties. An identical CVE in a VPN-only admin tool isn’t the same emergency.
4. Fix Prioritization
4.1 Decision Matrix
Cross the exploitability verdict with the worst-case impact and you get the action to take:
| Exploitability | Impact | Action | Timeline |
|---|---|---|---|
| Exploitable | Critical | Emergency patch + hotfix deploy | < 24 h |
| Exploitable | High | Patch in emergency window | < 48 h |
| Exploitable | Medium | Patch in next sprint | < 7 days |
| Exploitable | Low | Patch in regular cycle | < 30 days |
| Possible | Critical | Patch in emergency window | < 48 h |
| Possible | High | Patch in next sprint | < 7 days |
| Possible | Medium | Patch in regular cycle | < 30 days |
| Possible | Low | Patch when convenient | < 90 days |
| Unlikely | Any | Regular cycle | Next release |
Two overrides: in KEV → treat as Exploitable/Critical; dev-only dependency → drop one severity tier (still fix, CI holds secrets — but it doesn’t page anyone).
4.2 Fix Options
| Option | When to use | Risk |
|---|---|---|
| Upgrade package | Fixed version exists and is compatible | Breaking changes |
| Upgrade parent | Transitive vuln; parent pulls a fixed version | Larger upgrade surface |
| Override version | Parent won’t upgrade; force the transitive version | Untested combination |
| Patch in place | No fixed release; vendor or custom patch | Maintenance burden |
| Remove dependency | Unused or replaceable | Refactoring effort |
| Compensating control | Can’t patch yet — WAF rule, feature flag, isolation | Incomplete fix; needs review date |
| Accept risk | Unlikely + low impact, business sign-off | Must have expiry and owner |
“Compensating control” and “accept risk” are never permanent states, write the revisit date in the ticket the day you choose them.
When the option is “upgrade,” keep the change minimal: bump only the vulnerable package and its required parents, not every outdated dependency in the tree. Kitchen-sink upgrade PRs are how a 24-hour SLA turns into a two-week regression hunt. If several unrelated upgrades are pending, split them, the security fix ships first, alone, with its own rollback path. The dependency upgrade template covers how to structure that PR so reviewers can approve a hotfix in minutes instead of days.
5. Patch Testing
5.1 Testing Checklist
- Confirm the fixed version actually resolves the CVE (re-run the scanner against it)
- Read the changelog for breaking changes between your version and the fix
- Check the fix doesn’t introduce a newer vulnerable version transitively
- Run unit tests with the upgraded package
- Run integration tests
- Re-run SAST/SCA on the patched tree
- Deploy to staging and smoke-test the affected code path, ideally the one the CVE abuses
- Watch logs and error rates after deploy
- Check performance isn’t degraded
- Record the upgrade in your change-management system
5.2 Automated Validation Pipeline
# .github/workflows/security-patch.yml
name: Security Patch Validation
on:
pull_request:
paths:
- 'package.json'
- 'package-lock.json'
- 'pom.xml'
- 'requirements.txt'
jobs:
security-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Snyk scan
# Pin third-party actions to a commit SHA in production workflows; the comment is the human-readable tag
uses: snyk/actions/node@9adf32b1121593767fc3c057af55b55db032dc04 # v1.0.0
with:
command: test
args: --severity-threshold=high
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- name: OWASP Dependency-Check
env:
DC_VERSION: 12.1.0
run: |
wget -q "https://github.com/jeremylong/DependencyCheck/releases/download/v${DC_VERSION}/dependency-check-${DC_VERSION}-release.zip"
unzip -q "dependency-check-${DC_VERSION}-release.zip"
./dependency-check/bin/dependency-check.sh --project "my-app" --scan . --failOnCVSS 7
- name: Unit and integration tests
run: npm test && npm run test:integration
DC_VERSION is the only line to touch when you review tooling each quarter; the download URL and the unzip path follow it.
One pipeline detail that bites people: scanner CLIs exit non-zero when they find vulnerabilities, which kills the job before artifacts upload. Write JSON to a file instead of stdout and let the step pass:
snyk test --severity-threshold=high --json-file-output=snyk-results.json || true
6. Deployment Procedures
6.1 Emergency Hotfix (P0–P1)
- Branch from
main, bump the dependency to the fixed version. - Run the full test suite.
- Code review with a security-team approver, minimum two approvals for hotfixes.
- Deploy to staging; run smoke tests against the vulnerable code path.
- Deploy to production behind a canary (5–10% of traffic) or a blue-green switch.
- Watch error rates and logs for at least an hour before full rollout.
- Re-scan to confirm the finding is gone.
- Merge, update the change log, and schedule a post-incident review if the CVE was ever reachable from user input.
6.2 Scheduled Patch (P2–P4)
- Batch same-priority upgrades in one branch, one test cycle beats five.
- Run the full suite and regression tests in staging.
- Ship in the next normal release window.
- Monitor for 24 h, close the triage records, update the dependency inventory.
7. Monitoring and Prevention
7.1 Continuous Scanning
# .github/dependabot.yml
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
labels:
- "security"
- "dependencies"
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
7.2 Continuous Monitoring
# Track the project over time — uploads a snapshot to Snyk
snyk monitor --org=my-org
# One-off scan that preserves machine-readable output
snyk test --severity-threshold=high --json-file-output=snyk-results.json
Dependabot and snyk monitor watch what ships; also run a periodic full audit (npm audit, pip-audit, Trivy on container images) in CI so dev-only tooling doesn’t carry silent CVEs into your pipeline.
Review the dependency inventory on a schedule, independent of the CVE queue. A quarterly diff of what each service pulls in catches abandoned packages, duplicate major versions and transitive parents nobody remembers adding. Drift found between releases is a maintenance ticket; drift found during an incident is already an outage.
Filled Example
Let’s walk one real finding end to end: CVE-2022-42889, “Text4Shell” in commons-text, the same CVE the intake table above uses.
Intake. Snyk flags org.apache.commons:commons-text@1.9 in payment-api. CVE published 2022-10-13, fixed in 1.10.0. CVSS 9.8, StringSubstitutor interpolation can execute arbitrary lookups (script, dns, url).
Exploitability. Public PoCs exist within days; EPSS lands above 0.9. The service passes user-submitted templates through StringSubstitutor.createInterpolator(), direct reachability on user input, unauthenticated, internet-facing. Score: 3×2 + 2×2 + 2×2 + 1×2 + 1×1 = 15 → Exploitable, impact Critical. In reality Text4Shell wasn’t added to KEV (limited in-the-wild use), but with that reachability profile the answer doesn’t change.
Blast radius. payment-api prod (internet), P0. billing-worker uses the same library but never interpolates user strings — indirect, drops to P2.
Decision. Exploitable × Critical → emergency patch inside 24 h for payment-api; billing-worker rides the next sprint.
Patch and verify. Bump to 1.10.0 (the fix disables script, dns, url lookups by default), run suite, canary deploy, re-scan clean. The dependency vulnerability report template shows how this same finding gets documented for the audit trail.
What Works
- Timebox the record. Fifteen minutes per finding, then decide. If the scoring is still running, you’ve started the fix and skipped the decision.
- One signal at a time. Reachability first, EPSS second, KEV last. Scoring everything at once is how a 9.8 in a test helper earns a 24-hour SLA.
- Freeze the tree while a P0 is open. Only the vulnerable package and the parents it needs move in that branch; unrelated lockfile churn waits for the next release.
- Write the revisit date in the ticket, not in a spreadsheet. Accepted risks that live outside the queue are the ones nobody revisits.
Common Mistakes
- Triaging on CVSS alone. A 9.8 that’s unreachable and absent from KEV ranks below a 7.2 that’s in KEV and internet-facing. Always pull EPSS and check KEV before assigning the SLA.
- Skipping reachability. Half of scanner noise dies at “does our code call this function?” Check the call path before burning a hotfix window.
- Ignoring dev and CI dependencies.
--omit=devfindings still execute in CI, next to your signing keys and deploy tokens. Scan everything; prioritize differently, don’t exclude. - Treating “accept risk” as a close. It isn’t a state, it’s a ticket with an owner and an expiry date.
- No post-patch verification. Re-run the scanner after deploying. Upgrades occasionally pull a different vulnerable version transitively.
See Also
- Dependency Vulnerability Report Template, document the finding once triage decides
- Vulnerability Scan Report Template, aggregate multi-service scan results
- Vulnerability Management Template, program-level tracking and SLA health
- Scan Python Packages for Known CVEs with pip-audit
- Complete Guide to Supply Chain Security
- NVD, National Vulnerability Database
- FIRST, EPSS model and API
- FIRST, CVSS specification
- CISA, Known Exploited Vulnerabilities catalog
- OWASP Dependency-Check
- GitHub, Dependabot configuration
- Companion repo, triage record templates and pipeline files
Frequently Asked Questions
How do I know if a CVE actually affects my application?
Run the scanner, then trace the call path. A CVE in a dependency you import but never invoke is far lower risk than one on a function that handles user input. Reachability analysis, either your tool's built-in check or a manual npm ls/dependency:tree plus code search — is what separates a real emergency from scanner noise.
What if there's no fixed version available?
Layer mitigations: disable the vulnerable feature if it's optional, add input validation upstream of the call, block the exploit pattern at the WAF, or isolate the service. If none of that's feasible, document the accepted risk with a business owner and an expiry date, and subscribe to the package's security advisories so the fix doesn't slip past you when it ships.
Should I deploy a dependency upgrade without testing?
Never straight to production. Even patch releases break things. For a genuinely critical CVE, compress the cycle instead of skipping it: full suite, staging smoke test, then a canary at 5–10% of traffic with a defined rollback. That buys you speed without betting the service on a changelog.
How do I handle transitive dependency vulnerabilities?
Four options, in order: upgrade the direct parent to a version that pulls the fixed transitive version; override the transitive version explicitly (npm overrides, Maven dependencyManagement, pip constraints); replace the parent dependency; or accept and document the risk. npm ls <pkg> shows you which parent is responsible, start there.
What's the difference between CVSS and EPSS?
CVSS measures severity, meaning how bad the damage is when a flaw is exploited. EPSS measures likelihood — the probability of exploitation within 30 days. High CVSS + low EPSS is usually a sprint item. High CVSS + high EPSS, or anything in CISA KEV, is a drop-everything item. Use all three signals together; none of them alone is a triage decision.
When does a CVE in a dev dependency matter?
When your CI is part of the attack surface, which it almost always is. Build machines hold signing keys, deploy credentials, and package-registry tokens. A malicious package running in your build step is worth more to an attacker than the same package in production. Fix dev CVEs on a normal SLA rather than paging, but don't exclude them from scanning.
Related Resources
Dependency Vulnerability Report Template
A template for documenting individual dependency vulnerabilities, including exploitability, impact, remediation plans, and risk acceptance.
DocVulnerability Management Template
A repeatable template for tracking vulnerabilities, assigning remediation owners, defining patching timelines, and reporting security risks to stakeholders.
DocVulnerability Scan Report Template
A template for summarizing vulnerability scan findings, including asset coverage, severity distribution, and remediation tracking.
DocDependency Upgrade Runbook
A five-phase runbook for upgrading project dependencies safely, covering preparation, the upgrade itself, validation, rollback, and post-deploy monitoring.
RecipeScan Python Packages for Known CVEs with pip-audit
How to use pip-audit to scan Python dependencies for known vulnerabilities, configure ignore lists, integrate with CI/CD, and remediate findings.
GuideComplete Guide to Supply Chain Security
Secure your software supply chain end-to-end: SBOMs, dependency scanning, Sigstore signing, SLSA provenance, and CI/CD hardening with runnable examples.