Security and NetBSD

The NetBSD Project adopts the same approach to security as it does to the the rest of the system: Solutions and not hacks. Security issues in NetBSD are handled by the NetBSD security officer and the NetBSD security alert team. As well as investigating, documenting and updating code in response to newly reported security issues, the team also performs periodic code audits to search for and remove potential security problems.

NetBSD has integrated Kerberos IV (KTH-KRB), Kerberos 5 (Heimdal), SSH (OpenSSH) and full support for IPsec for both IPv4 and IPv6. In addition, all services default to their most secure settings, and no services are enabled by default for new installations.

Security Advisories

When serious security problems in NetBSD are discovered and corrected, we issue a security advisory, describing the problem and containing a pointer to the fix. These are announced to our netbsd-announce mailing list as well as to various other mailing lists and websites. In addition, they are archived on this site as well as provided as an RSS feed.

Note that we no longer issue advisories for thirdparty software packages (pkgsrc). Instead, an automated mechanism to audit installed binary package is provided in security/audit-packages. We supply a machine-parsable database of vulnerable packages.

Recent Advisories

See the advisory archive for a complete list.

Security Contacts

The NetBSD Project has two security related contact points:

  • The tech-security mailing list is an open forum for discussing issues related to NetBSD security.
  • You can directly contact the NetBSD Project about security issues by sending email to .

Reporting a security problem

To report a security problem in NetBSD, either contact the NetBSD team or send a standard NetBSD problem report, using the send-pr form or the send-pr(1) program on your NetBSD system.

Sensitive information should be encrypted using PGP, using the NetBSD security-officers' PGP key. Information about PGP can be obtained from Network Associates' PGP site.

Security Patches

All published NetBSD security patches are available on the NetBSD Project's FTP server in the security/patches/ directory.

Patching NetBSD-current

We don't release patches or advisories specifically for NetBSD-current, but instead recommend that you update to a version containing the fixes. See the advisories above for the fix dates.

NetBSD Packages Collection (pkgsrc)

The NetBSD Packages Collection provides easy source or binary installation of a large number of third-party applications. One should remember that there can often be bugs in third-party software, and some of these bugs can leave a machine vulnerable to exploitation. To cope with this, NetBSD provides an easy way to audit your installed packages for known vulnerabilities.

Checking for vulnerabilities in installed packages

The NetBSD Security-Officer and Packages Groups maintain a list of known security vulnerabilities to packages which are (or have been) included in pkgsrc. The list is available from the NetBSD FTP site at:

Through audit-packages, this list can be downloaded automatically, and a security audit of all packages installed on a system can take place.

There are two components to audit-packages. The first component, download-vulnerability-list, is for downloading the list of vulnerabilities from the NetBSD FTP site. The second component, audit-packages, checks to see if any of your installed packages are vulnerable. If a package is vulnerable, you will see output similar to the following:

Package samba-2.0.9 has a local-root-shell vulnerability, see http://www.samba.org/samba/whatsnew/macroexploit.html

One can set up audit-packages to download the vulnerabilities file daily, and include a package audit in the daily security script. Details on this are located in the MESSAGE file for audit-packages.

Security Resources

A number of security advisories and other security resources are available on-line at these sites:

For those interested in using NetBSD in a firewalling capacity, Darren Reed's IPFilter page has a full description of IPFilter and links to further documentation.

(contact us)   Generated from %NetBSD: index.xml,v 1.27 2006/01/23 01:40:47 hubertf Exp %
Copyright © 1994-2006 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.
NetBSD® is a registered trademark of The NetBSD Foundation, Inc.