DHS Bug Hunt Returns Mixed Reaction

 

Connecting state and local government leaders

The results of a Homeland Security Department-funded bug hunt spanning 40 popular open-source programs has thus far met ambivalence from the open-source community. While many projects are using the results to improve their software, others are bemoaning the high number of false positives.

The results of a Homeland Security Department-funded bug hunt spanning 40 popular open-source programs has thus far met ambivalence from the open-source community. While many projects are using the results to improve their software, others are bemoaning the high number of false positives.

Bruce Momjian, project coordinator for PostgreSQL, has used Coverity reports in the past and found them useful, if not essential.



In January, DHS' Science and Technology Directorate awarded a team comprising Coverity Inc. of San Francisco, Stanford University and Symantec Corp. of Cupertino, Calif., a three-year, $1.2 million contract to find heretofore undiscovered vulnerabilities in widely used open-source programs, such as the Linux kernel and the Apache Web server.


Improving quality

Through its Vulnerability Discovery and Remediation Open Source Hardening Project, DHS wants to improve the quality of open-source programs supporting critical U.S. infrastructure (dams, power grids, highways). The concern is that defects pose security vulnerabilities because malicious programs could use them to disrupt or gain control of a system.


'DHS realizes that much of the critical infrastructure runs on open source,' said David Park, co-founder and vice president of marketing and business development for software testing company Coverity.


But Ben Laurie, a chief developer of Apache, said he finds the project puzzling. He wants to know why the agency would pay a third party to search for bugs, yet 'make no contribution to fixing them.'


Stanford University, which gets the majority of the funding, will investigate new techniques for analyzing complex sets of software code for critical defects. Coverity was tasked with testing 40 open-source applications, using its existing test software (which was largely developed at Stanford).


In March, Coverity released the first set of results. Overall, the average defect density of all the programs was fairly low'about 0.43 bugs per thousand lines of code.


The most widely used programs scored well under this average.


The 3 million lines of code that make up the Linux kernel, for instance, had an average of 0.33 bugs per thousand lines of code. Apache has 0.25 bugs per thousand lines of code.


The open-source LAMP stack (consisting of Linux, Apache, MySQL and a scripting language of either Perl, PHP or Python), had a defect density of 0.29 bugs per thousand lines of code.


Several open-source project teams have registered with Coverity to see the full set of results. The team overseeing the PostgreSQL database system is reviewing the new list, said Bruce Momjian, the project's coordinator.


He has used Coverity reports before, he said, and found them to be useful, if not absolutely essential. The results of a previous study pointed to 'a few unusual cases that weren't exploitable bugs, but were something we wanted to clean up,' he said. With this set of results, however, he has found a number of reported bugs that were actually already fixed.


The initial results for Apache contain an abundance of 'false positives' as well, Laurie said.


False positives are pointers to potential problems that turn out not to be problems at all. 'Unverified results from [Coverity's] software are unlikely to continue to be seen to be valuable by developers because of the rather high false-positive rate,' he warned.


False positives

Members of the Linux kernel mailing list bemoaned its collection of false positives, which, to their chagrin, inflated the overall number of bugs Coverity claimed to be in the Linux kernel.


The group quickly descended on Coverity's list, with volunteers picking out reported bugs, listing them by their Coverity identification numbers, and posting code that would fix the problems. They soon found themselves wasting time going down blind alleys.


'About half of the [approximately] 50 reports I've looked at so far in their database have been false positives,' one developer quipped. Greg Kroah-Hartman, who maintains a number of driver subsystems for the Linux kernel, pointed to one instance where a developer investigated a purported memory initialization error only to find, after much discussion with his peers, that it did not exist after all.


The software had difficulty parsing basic C code, he said. 'There was nothing wrong with the kernel code at all,' he said in an e-mail.


'All source-code analysis solutions must deal with the false-positive problem,' admitted Ben Chelf, CTO of Coverity. He said that because the company's software is configurable, users can lower the false-positive rate by tweaking the settings.
Members of the Linux kernel group also question why the results shouldn't be made public. Simple bug repair is the type of job outside developers do well, they claim.


The project Web site, scan.coverity.com, offers a tally of how many bugs the project found with each program, but only those involved with the programs themselves can see the full results.


Originally, Coverity did not want to disclose the bugs, fearing that malicious hackers would use the results to nefarious ends. At press time, Chelf said the company was reconsidering publicly posting the full results.


Despite criticisms, Chelf remains confident that DHS is helping the open-source community. 'I'm personally very excited at the response thus far,' he said.

NEXT STORY: Tech Blog from GCN.com

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.