github sahlberg/libnfs libnfs-8.0.1
libnfs 8.0.1

latest release: libnfs-7.0.3
37 minutes ago

Bugfix release on the 8.0 branch, ABI compatible with 8.0.0. The SONAME stays at 18 (libnfs.so.18.0.1).

Security fix

  • Zero-copy READ after an error reply (5f59d4f). A READ reply that did not decode crashed the client on a NULL pointer. After MSG_DENIED or a failed accept_stat, the bytes that followed the reply were copied into the caller's buffer after the callback had already reported the error. nfs_pread() uses this path, so a malicious or impersonated NFS server could crash any client reading from it, or write into a buffer the application had already freed. Affects 8.0.0. Reported by Kun-Wei Wu.

Other fixes

  • Free the reassembly buffer when a fragmented READ reply ends early.
  • TLS: fail closed when the AUTH_TLS probe fails on reconnect, send nothing but the probe until TLS is up, and do not fall back to one-way TLS when mtls was asked for.

Don't miss a new libnfs release

NewReleases is sending notifications on new releases.