security/pscan - The NetBSD Packages Collection

Security C code scanner for misuse of format strings

PScan is a C source code security scanner, which looks for misuse of
libc functions which use varargs and printf-style formatting
operators. In many situations these can cause security vulnerabilities
in the application if it runs with privileges (setugid, or listening
to a network socket, etc).

An example of the kind of situation pscan looks for is the following:

  variable = "%s";                   /* or malicious user input */
  sprintf(buffer, variable);         /* BAD! */

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64pscan-1.3.tgz
NetBSD 10.0aarch64pscan-1.3.tgz
NetBSD 10.0aarch64pscan-1.3.tgz
NetBSD 10.0aarch64ebpscan-1.3.tgz
NetBSD 10.0aarch64ebpscan-1.3.tgz
NetBSD 10.0alphapscan-1.3.tgz
NetBSD 10.0earmv4pscan-1.3.tgz
NetBSD 10.0earmv6hfpscan-1.3.tgz
NetBSD 10.0earmv6hfpscan-1.3.tgz
NetBSD 10.0earmv6hfpscan-1.3.tgz
NetBSD 10.0earmv7hfpscan-1.3.tgz
NetBSD 10.0earmv7hfpscan-1.3.tgz
NetBSD 10.0earmv7hfpscan-1.3.tgz
NetBSD 10.0i386pscan-1.3.tgz
NetBSD 10.0i386pscan-1.3.tgz
NetBSD 10.0m68kpscan-1.3.tgz
NetBSD 10.0powerpcpscan-1.3.tgz
NetBSD 10.0vaxpscan-1.3.tgz
NetBSD 10.0x86_64pscan-1.3.tgz
NetBSD 10.0_BETAx86_64pscan-1.3.tgz
NetBSD 8.0i386pscan-1.3.tgz
NetBSD 8.0i386pscan-1.3.tgz
NetBSD 8.0i386pscan-1.3.tgz
NetBSD 8.0powerpcpscan-1.3.tgz
NetBSD 8.0powerpcpscan-1.3.tgz
NetBSD 8.0powerpcpscan-1.3.tgz
NetBSD 8.0powerpcpscan-1.3.tgz
NetBSD 8.0x86_64pscan-1.3.tgz
NetBSD 8.0x86_64pscan-1.3.tgz
NetBSD 8.0x86_64pscan-1.3.tgz
NetBSD 9.0aarch64pscan-1.3.tgz
NetBSD 9.0aarch64pscan-1.3.tgz
NetBSD 9.0aarch64pscan-1.3.tgz
NetBSD 9.0alphapscan-1.3.tgz
NetBSD 9.0alphapscan-1.3.tgz
NetBSD 9.0earmpscan-1.3.tgz
NetBSD 9.0earmv4pscan-1.3.tgz
NetBSD 9.0earmv6hfpscan-1.3.tgz
NetBSD 9.0earmv6hfpscan-1.3.tgz
NetBSD 9.0earmv6hfpscan-1.3.tgz
NetBSD 9.0earmv7hfpscan-1.3.tgz
NetBSD 9.0earmv7hfpscan-1.3.tgz
NetBSD 9.0earmv7hfpscan-1.3.tgz
NetBSD 9.0i386pscan-1.3.tgz
NetBSD 9.0i386pscan-1.3.tgz
NetBSD 9.0m68kpscan-1.3.tgz
NetBSD 9.0m68kpscan-1.3.tgz
NetBSD 9.0mips64ebpscan-1.3.tgz
NetBSD 9.0powerpcpscan-1.3.tgz
NetBSD 9.0powerpcpscan-1.3.tgz
NetBSD 9.0powerpcpscan-1.3.tgz
NetBSD 9.0sh3elpscan-1.3.tgz
NetBSD 9.0sh3elpscan-1.3.tgz
NetBSD 9.0sparc64pscan-1.3.tgz
NetBSD 9.0sparcpscan-1.3.tgz
NetBSD 9.0sparcpscan-1.3.tgz
NetBSD 9.0x86_64pscan-1.3.tgz
NetBSD 9.0x86_64pscan-1.3.tgz
NetBSD 9.3x86_64pscan-1.3.tgz
NetBSD 9.3x86_64pscan-1.3.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.