GitHub: Open source vulnerabilities can go undetected for four years

GitHub research finds that time between vulnerability detection and fix must shorten

GitHub office with GitHub logo over top

Detecting and identifying vulnerabilities in open source software can take as long as four years, according to GitHub's annual State of the Octoverse report.

The research, which looked at the efforts of over 56 million developers worldwide creating over 60 million repositories over the last 12 months, found that once flaws had been identified, the package maintainer and security community typically generate and release a fix in 4.4 weeks.

The report’s authors said that this highlighted the opportunities to improve vulnerability detection in the security community. 

“Many of the services and technology we all rely on, from banking to healthcare, also rely on open source software. The artifacts of open source code serve as critical infrastructure for much of the global economy, making the security of open source software mission-critical to the world,” the report said.

The research found that 94% of projects have open source dependencies written in JavaScript, while Ruby and .Net were close second and third at 90.2% and 89.8%, respectively.

GitHub also found that most software vulnerabilities are mistakes, not malicious attacks. An analysis of a random sample of 521 advisories from across six ecosystems found that 17% of the advisories stemmed from explicitly malicious behavior, such as backdoor attempts. The remaining 83% of vulnerabilities were due to mistakes. 

“These malicious vulnerabilities were generally in seldom-used packages but triggered just 0.2% of alerts. While malicious attacks are more likely to get attention in security circles, most vulnerabilities are caused by mistakes,” said the report.

Related Resource

A buyer’s guide to managed detection and response (MDR) services

Simplifying and strengthening your security programme through outsourcing

Download now

The report urged developers to use automation to remediate vulnerabilities and stay secure.

“Using automated alerting and patching tools to secure software quickly means attack surfaces are evolving, making it harder for attackers to exploit," the report's authors said.

"Repositories that automatically generate pull requests to update vulnerable dependencies patch their software 1.4 times faster than those who don’t. Automating security practices helps your team secure your code as developers share their expertise with their community, remove security and engineering silos, and scale their expertise."

Phil Odence, general manager of Black Duck On-Demand at Synopsys, told ITPro that the main takeaway here is a significant amount of open source in virtually every modern application used today, so companies must track and manage the code to keep those apps secure. 

“The report focuses on security and so doesn’t delve into legal risks associated with licensing; however, despite being 'free,' open source software is no different from other software in that its use is governed by a license.

"Based on research conducted for the 2020 OSSRA report, 68% of codebases contained some form of open-source license conflict, and 33% contained open-source components with no identifiable license. This is another way in which open source can get organizations into hot water, and thus should be managed and not overlooked,” he said.

Featured Resources

Managing security risk and compliance in a challenging landscape

How key technology partners grow with your organisation

Download now

Evaluate your order-to-cash process

15 recommended metrics to benchmark your O2C operations

Download now

AI 360: Hold, fold, or double down?

How AI can benefit your business

Download now

Getting started with Azure Red Hat OpenShift

A developer’s guide to improving application building and deployment capabilities

Download now

Recommended

GitHub walks back Jewish employee’s termination for using “Nazi” on Slack
Business operations

GitHub walks back Jewish employee’s termination for using “Nazi” on Slack

19 Jan 2021
How LogPoint uses MITRE ATT&CK
Whitepaper

How LogPoint uses MITRE ATT&CK

15 Jan 2021
How LogPoint uses MITRE ATT&CK
Whitepaper

How LogPoint uses MITRE ATT&CK

15 Jan 2021
How LogPoint uses MITRE ATT&CK
Whitepaper

How LogPoint uses MITRE ATT&CK

15 Jan 2021

Most Popular

IT retailer faces €10.4m GDPR fine for employee surveillance
General Data Protection Regulation (GDPR)

IT retailer faces €10.4m GDPR fine for employee surveillance

18 Jan 2021
Citrix buys Slack competitor Wrike in record $2.25bn deal
collaboration

Citrix buys Slack competitor Wrike in record $2.25bn deal

19 Jan 2021
Should IT departments call time on WhatsApp?
communications

Should IT departments call time on WhatsApp?

15 Jan 2021