DevSecOps An Effective Fix for Software FlawsOrganizations seeking to fix flaws faster should look to automation and related methodologies for success, says a new report.
Knowing a vulnerability's severity might not tell you anything about how quickly that vulnerability will be fixed. But knowing what kind of development model the company is using could tell you a lot. Those are some of the conclusions of a new study that looks at how many vulnerabilities appear in enterprise software and how long they hang around once they're discovered.
The ninth edition of Veracode's "State Of Software Security" report concludes that the greatest indicator of how quickly an organization will fix the vulnerabilities it finds correlates to how many times each year developers scan their code for issues. It's a marker that Chris Eng, vice president of research at Veracode, says he sees as a stand-in for the type of development discipline the company uses.
"We used scan frequency as kind of a proxy for DevOps because if you're scanning really often — daily or or more often — it indicates that you're doing a lot with automation," Eng says. "We can surmise from that that you're probably a DevOps shop." He contrasts organizations that scan their code hundreds of times a year with those that run one or two scans a year, and says the differences are borne out in what Veracode sees in code defects and remediation.
Veracode judges the duration of a flaw based on how many times the same issue shows up in a scan after its initial discovery, Eng says. "If the flaw shows up three, four, five times, we can see that this was discovered in January, and you scanned it every month, and it's still there in May—then in June it goes away. So you assume that to mean that they closed it after four months," he explains.
Eng's use of "months" as the time scale for remediation is not arbitrary. According to the Veracode research, more than 70% of all flaws were still present a month after initial discovery, and nearly 55% had not been remediated after three months. In fact, while roughly a quarter of all code flaws were dealt with inside 21 days, another quarter were still open issues after a year.
The length of time from discovery to fix varied according to the flaw's severity — but not very much, Eng says. Based on a scale that rates the most severe issues a 5 and the least severe a 1, he explains, "We expected the fives to be fixed the fastest and then the fours, threes, twos, but it wasn't like that." While the flaws rated 5 were repaired fastest, 3s were fixed faster than 4s — and 5s weren't fixed all that quickly, either.
It takes 14 days to get 25% of the 5s fixed, 64 days to get to the 50% mark on repairs, and 206 days before 75% have been corrected, Eng says. The great variation in time to repair is how often the code is scanned for flaws, he says.
In the population that scans their code 300 times a year or more, Eng says, "They're fixing a quarter of the flaws that we detect within three days, half within five days, and 75% within seven days." Just as important, Eng says, those high-frequency companies eventually remediate 100% of the flaws found.
"Compare that to the ones that are scanning one to three times a year," he says. "Even to get to the 50% mark it's almost a year, and to get to the 75% mark it's almost four years."
This report surprised Eng in several ways, but ultimately, he says, "We feel like we have good evidence that the DevSecOps thing actually does work. We see that in the 'fix velocity' chart, and that was that was a huge, huge takeaway for us."
Black Hat Europe returns to London Dec 3-6 2018 with hands-on technical Trainings, cutting-edge Briefings, Arsenal open-source tool demonstrations, top-tier security solutions and service providers in the Business Hall. Click for information on the conference and to register.
Curtis Franklin Jr. is Senior Editor at Dark Reading. In this role he focuses on product and technology coverage for the publication. In addition he works on audio and video programming for Dark Reading and contributes to activities at Interop ITX, Black Hat, INsecurity, and ... View Full Bio