Change epss vuln url
Goal
| User story |
|---|
| As an engineer, |
| I want to use the most up-to-date EPSS URL, |
| so that I don't have to rely on the redirect put in place by the third party. |
Context
The third party we get EPSS scores from changed their URL from https://epss.cyentia.com/epss_scores-current.csv.gz to http://epss.empiricalsecurity.com/epss_scores-current.csv.gz.
There was an outage on 2025-05-02:
There is a redirect from https://epss.cyentia.com to http://epss.empiricalsecurity.com, but we should use the new URL directly.
The URL is defined here: https://github.com/fleetdm/fleet/blob/main/server/vulnerabilities/nvd/sync.go#L69
Changes
Engineering
- [x] Test plan is finalized
- [x] Contributor API changes: No changes
- [x] Feature guide changes: No changes
- [x] Database schema migrations: No changes
- [x] Load testing: No changes
- [x] Pre-QA load test: No changes
- [x] Load testing/osquery-perf improvements: No changes
- [x] This is a premium only feature: No
ℹ️ Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".
Risk assessment
- Requires testing in a hosted environment: TODO
- Requires load testing: No
- Risk level: Low
- Risk description: Single URL constant change. Low blast radius — the redirect keeps the old URL functional, so worst case is no behavior change.
Test plan
Make sure to go through the list and consider all events that might be related to this story, so we catch edge cases earlier.
Core flow
- [x] Start a Fleet server with vulnerability processing enabled and confirm EPSS scores are fetched successfully from the new URL.
- [x] Verify CVE entries surface EPSS probability scores as expected after the sync completes.
- [x] Inspect server logs to confirm the request goes to the new host and not the old one.
Edge cases
- [x] New host unreachable (network error, DNS failure): sync fails gracefully and retries on the next cycle.
- [x] Response is empty or malformed: existing parsing rejects cleanly without corrupting prior data.
API
- [x] Verify GET /software/versions returns non-null epss_probability after sync (Premium).
- [x] Verify GET /vulnerabilities returns non-null epss_probability after sync (Premium).
- [x] Verify GET /vulnerabilities/{cve} returns correct epss_probability after sync (Premium).
- [x] Verify order_key=epss_probability sorting still works.
Regression
- [x] NVD CVE feed and CISA known-exploits feed sync still complete normally in the same run.
- [x] LoadCVEMeta still correctly merges CVSS/EPSS/CISA data after the URL change.
- [x] Existing EPSS scores aren't wiped out if a single sync cycle fails.
Supplemental testing
- [ ] Verify hosted/Cloud egress allowlist includes the new EPSS host.
- [x] Verify TLS certificate on the new host is valid.
- [x] Verify Free-tier still omits/nulls epss_probability in API responses.
Testing notes
Confirmation
- [x] Engineer: Added comment to user story confirming successful completion of test plan (include any special setup, test data, or configuration used during development/testing if applicable).
- [x] QA: Added comment to user story confirming successful completion of test plan.
- [x] QA: Determined whether this story needs Playwright automation.
- Needs automation: No
- If yes, filed a follow-up issue in the :help-qa project with status "Needs automation": TODO
@ksykulev Thanks for filing this! To expedite this, I think it could be triaged as a bug. We want to point to the canonical URL for stability, but we're reporting to a redirect that is flaky.
@mostlikelee Your call. If you want it as eng-initiated feel free to move to the drafting board. If you agree it's a bug, this can be closed and a new bug opened with the details. That way, you won't need to go through the more process-heavy story drafting process.
moving to the product board, this seems like an easy stability win
Hey @ksykulev just a reminder to fill out the test plan and bring this story to the next user story review so that we can get it estimated!
cc @mostlikelee
@mostlikelee @lukeheath Hey there. This didn't make the 3-week time period for drafting to estimation. Pulling off the board for now, feel free to put it back if you feel it should be prioritized for the next sprint. Thanks!
@ksykulev @mostlikelee Moving this to the waiting column of the engineering project. Let me know if/when you want to take another swing at drafting it.
@mostlikelee This looks like an easy win that slipped off the radar. Assigning to you to take through drafting when you have time.
@sharon-fdm
@mostlikelee is this still something we want to work on?
@juan-fdz-hawa assigning to you to figure out if this is still something we should work on
^ @juan-fdz-hawa wdyt?
^ @juan-fdz-hawa wdyt?
Sorry! Totally missed this, yeah lets do it, seems like the redirect is still in effect:
➜ curl -I https://epss.cyentia.com
HTTP/2 301
content-length: 0
location: https://epss.empiricalsecurity.com/
date: Fri, 17 Jul 2026 15:27:18 GMT
server: AmazonS3
x-cache: Miss from cloudfront
via: 1.1 68d7ccdfb6189940dcbc92232d1409fc.cloudfront.net (CloudFront)
x-amz-cf-pop: ATL56-P2
x-amz-cf-id: DDqyxH1CUOC_GbcGFyhwMau6_KmE4K-tHwm34QNTP6UPA9Ok_hnroA==
Completed test plan
QA Summary
Tested the EPSS feed URL change (story #28807, PR #51890) on a local Fleet server built from main (post-merge), with vulnerability processing enabled and real host CVE data, driving syncs via fleetctl trigger and verifying through server behavior, MySQL (cve_meta), and the REST API.
Results Table
| Check | Result | Notes |
|---|---|---|
| Sync fetches EPSS from new URL | ✅ | Triggered run completed in 48s; 11MB epss_scores-current.csv re-downloaded in the run window |
| CVE entries carry EPSS scores | ✅ | 367,633 of 367,685 cve_meta rows populated |
| Traffic goes to new host, not old | ✅ | Old host DNS-blackholed → sync succeeds; new host blackholed → failure error names https://epss.empiricalsecurity.com/epss_scores-current.csv.gz |
| New host unreachable → graceful failure | ✅ | 5m28s retry backoff, cron completes, server healthz 200, no file replacement |
| Retry/recovery on next cycle | ✅ | After DNS restore: 45s run, EPSS file freshly downloaded |
| Failed cycle doesn't wipe scores | ✅ | All 367,633 EPSS values intact through the failed run |
| GET /vulnerabilities epss (Premium) | ✅ | 5,725 host CVEs, sampled rows non-null |
| GET /vulnerabilities/{cve} epss | ✅ | CVE-2007-4559 → 0.27095, identical to feed CSV row |
| GET /software/versions epss (Premium) | ✅ | Vulnerable Safari versions show per-CVE epss values |
| order_key=epss_probability | ✅ | Descending: 0.93235 ≥ 0.92855 ≥ 0.75832 |
| NVD + CISA sync in same run | ✅ | nvdcve-1.1-*.json.gz and known_exploited_vulnerabilities.json refreshed together |
| LoadCVEMeta three-way merge | ✅ | 287,646 CVSS / 367,633 EPSS / 1,694 CISA-known; sample rows carry all three; unit test passes |
| Free tier omits epss_probability | ✅ | tier: free — field absent from all three endpoints |
| Premium restored | ✅ | epss values returned again after license re-added |
| TLS cert on new host | ✅ | CN=epss.empiricalsecurity.com, Amazon RSA 2048 M04, valid to 2027-01-27 |
| Unit tests | ✅ | TestDownloadEPSSFeed (NETWORK_TEST=1) + TestLoadCVEMeta pass |
| Old URL redirect intact (context) | ✅ | 301 → epss.empiricalsecurity.com |
@juan-fdz-hawa Any thoughts on how QA would test this one
Verify hosted/Cloud egress allowlist includes the new EPSS host.
It seems I would need access to cron logs in CloudWatch
@lukeheath @rfairburn Looping you in on this. We should be verbal about this change, since customers might have an egrees rule that only allows for https://epss.cyentia.com/ (plus some more rules for the other artifacts) on their vuln setup.
@zayhanlon @ddribeiro @roperzh Please see above re: egress rules. This would apply to our managed cloud instances, as well as self-hosted customers.
Data flows direct no redirect slows the path scores arrive on time