github sahlberg/libnfs libnfs-7.0.3
libnfs 7.0.3

37 minutes ago

Bugfix release on the 7.0 branch, ABI compatible with 7.0.0 to 7.0.2. The SONAME stays at 17 (libnfs.so.17.0.3).

Security fix

  • Zero-copy READ after an error reply (f377516). 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 7.0.0 to 7.0.2. 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.
  • Fix a self-deadlock when purging the outqueue with multithreading enabled.

Don't miss a new libnfs release

NewReleases is sending notifications on new releases.