CVE reduction worked until the next scan. Is rebuilding on someone else's patch schedule a strategy?

Posted by Any_Artichoke7750@reddit | linux | View on Reddit | 4 comments

Six months of the same cycle. Critical CVE drops, we rebuild, scanner clears, three weeks later another one surfaces from a transitive dependency we didn't even know was in the base image.

The runc disclosures in November took 9 days before Alpine had anything clean upstream. 

Nine days of sitting on it, giving stakeholders timelines we made up, waiting for someone else to move. No SLA, no ETA.

Tried switching base images twice. First switch broke builds for 2 weeks. 

Second got us to distroless which helped with CVE count but snapped 4 services that needed shell access during incidents so we rolled back under pressure. My teammate ran the numbers last quarter. 22 person-hours on rebuild cycles triggered by base image CVEs we had zero control over. 

Is anyone  off this treadmill or is the answer just that you pick a base image and accept that this is part of the job now.