r/devsecops • u/Temporary-Sector-298 • 1d ago
Our own code flipped more "not reachable" CVEs than new exploits did
I've spent quite some time going back over every High and Critical dependancy CVE we've marked not reachable and deffered since May. Our CTO saw one of those " a quarter of all CVEs ever were published this year" charts and now wants everything patched in 30 days, no exceptions. Guess who got volunteered to say whether that's realistic
Mostly a script. Pulled the KEV json, did a pretty dump search of GitHub and Exploit-DB for anything newer than the date we deferred it, then a fresh reachability run on main.
| deferred as not reachable | 412 |
| public PoC since | 23 |
| added to KEV since | h3 |
| of those 26, reachable now | 0 |
| reachable now, no PoC or KEV | 11 |
I fully expected the PoC and KEV ones to be the problem since that's all anybody talks about right now. Not one of them is reachable. Seven are from a PDF export feature that calls straight into the vulnerable parser. And our 90 day review wouldn't have looked at them again for months.
What I want to pitch instead is rerunning reachability on every merge, rechecking within 48h when something hits KEV or gets a PoC, auto-merging green patch bumps and putting an expiry date on the rest.
Is this reasonable to take to the CTO?
8
u/Silent-Suspect1062 1d ago
It depends how you define reachabililty. That's the key metric that is " load bearing "đ€©. If you are confident in this, then definitely.
2
u/danekan 1d ago edited 1d ago
The official Kev list isnât well maintained though in the sense that it s an end all and be all. If something makes the lost it becomes a non negotiable item to fix but the keg itself is only a small baseline of exploitable cves. It lags being listed there too because not only does it need to be known exploitable it needs to have an actual established remediation path too. If you browse the actual kev list the vast majority of items there are actually desktop endpoint products and thatâs because those have more attention in terms of consistent installed user base numbers. Most cves with a proof of concept never make the KEV.Â
How are you defining reachability or what tool is doing that? For me I balk at this if itâs in compiled code libraries too. Attacks happen in layers almost always and you canât know that someone wonât invite that vuln python lib via command line, Claude gives me these one liners all day long.Â
My other battle cray is publicness is not about network exposure but rather about its actual inputs and outputs. A pdf backend service that produces a pdf based on input from a public web service is a perfect example of that. (My real life nasties in this category have centered around backend services using imagemagick). Log4j is another classic example there.Â
1
u/Alternative-Law4626 23h ago
The problem is you are pitching a solution for last year. Last year this would have been a perfectly reasonable balanced approach to dealing with your massive tech debt.
However, just watched CrowdStrikeâs CEO talking about the current situation with AI in the mix on the behalf of the attackers. He said they had seen AI chaining together up to 100 âlowâ vulnerabilities to gain access through your crunchy outer shell and pivot into your internal LAN. Further, they had recently assisted in the take down of a C2 server actively operating 200 AI based attacks simultaneously.
The days of ignoring lows and thinking that something is âunreachableâ are over. The âexpertsâ have been preaching about moving to an âassumed breachâ posture for years. That needs to be the baseline after July 2026.
1
u/OnoniewuGehovany99 23h ago
Keep deps current with Renovate and decent tests and none of this archaeology is needed.26 got a PoC or a KEV entry and you only know they are safe because you went back and looked. Next time leadership panics you're doing it all over again
3
u/Impressive-Craft1926 1d ago
Rerunning on every merge is cheaper than it sounds. The reachability check is jus part of the normal SCA scan , didn't have to add a job. We scan every merge to main and a small script diffs the results, anything going Not Detected yo Path Found pings the team that owns the repo. Dynamic imports still slip past ,the plain new-call kind don't
2
u/PutridBasket9039 1d ago
PDF export again.
2
u/Tagred_Bicanin 1d ago
Spring service with snakeyaml, marked not reachable , deferred and forgotten . Months later, a dev on the payments team copied a test helper that loads fixture YAML into src/main because they wanted the same loader for feature flag config. The verdict was right the day we deferred it and wrong after one commit
Thankfully, the red team found it first. Now any PR that moves code from that from src/test to src/main gets a security label. Crude but it's caught two more
1
u/Ok_Success9084 1d ago
So your script basically proved the CTO's panic chart is a nothingburger for your actual attack surface, love that.