Bug 264515 - security/sudo: Update to 1.9.11
Summary: security/sudo: Update to 1.9.11
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Cy Schubert
URL: https://github.com/sudo-project/sudo/...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-06-07 04:01 UTC by Cy Schubert
Modified: 2022-06-22 14:05 UTC (History)
2 users (show)

See Also:
garga: maintainer-feedback+
cy: merge-quarterly-


Attachments
Update sudo to 1.9.11 (5.13 KB, patch)
2022-06-07 04:01 UTC, Cy Schubert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cy Schubert freebsd_committer freebsd_triage 2022-06-07 04:01:31 UTC
Created attachment 234515 [details]
Update sudo to 1.9.11

Sender: "sudo-announce" <sudo-announce-bounces@sudo.ws>
Subject: [sudo-announce] sudo 1.9.11 released
From: "Todd C. Miller" <Todd.Miller@sudo.ws>
Date: Mon, 06 Jun 2022 12:59:50 -0600 (11:59 PDT)
To: sudo-announce@sudo.ws

Sudo version 1.9.11 is now available.  In addition to bug fixes,
sudo 1.9.11 includes an implementation of intercept mode and
sub-command logging using ptrace(2) and seccomp(2) on Linux.  Also
new is AppArmor integration, which allows a sudoers rule to specify
an AppArmor profile to use when running a command.

Source:
    https://www.sudo.ws/dist/sudo-1.9.11.tar.gz
    ftp://ftp.sudo.ws/pub/sudo/sudo-1.9.11.tar.gz

SHA256 checksum:
    b5476e30d83ca14734da9370f2206beb21c8a33fc85a504fb8a61d18d8b351be
MD5 checksum:
    94864a6fb5771030239aea44ea1fae52

Binary packages:
    https://www.sudo.ws/getting/packages/
    https://github.com/sudo-project/sudo/releases/tag/SUDO_1_9_11

For a list of download mirror sites, see:
    https://www.sudo.ws/getting/download_mirrors/

Sudo web site:
    https://www.sudo.ws/

Major changes between sudo 1.9.11 and 1.9.10:

 * Fixed a crash in the Python module with Python 3.9.10 on some
   systems.  Additionally, "make check" now passes for Python 3.9.10.

 * Error messages sent via email now include more details, including
   the file name and the line number and column of the error.
   Multiple errors are sent in a single message.  Previously, only
   the first error was included.

 * Fixed logging of parse errors in JSON format.  Previously,
   the JSON logger would not write entries unless the command and
   runuser were set.  These may not be known at the time a parse
   error is encountered.

 * Fixed a potential crash parsing sudoers lines larger than twice
   the value of LINE_MAX on systems that lack the getdelim() function.

 * The tests run by "make check" now unset the LANGUAGE environment
   variable.  Otherwise, localization strings will not match if
   LANGUAGE is set to a non-English locale.  Bug #1025.

 * The "starttime" test now passed when run under Debian faketime.
   Bug #1026.

 * The Kerberos authentication module now honors the custom password
   prompt if one has been specified.

 * The embedded copy of zlib has been updated to version 1.2.12.

 * Updated the version of libtool used by sudo to version 2.4.7.

 * Sudo now defines _TIME_BITS to 64 on systems that define __TIMESIZE
   in the header files (currently only GNU libc).  This is required
   to allow the use of 64-bit time values on some 32-bit systems.

 * Sudo's "intercept" and "log_subcmds" options no longer force the
   command to run in its own pseudo-terminal.  It is now also
   possible to intercept the system(3) function.

 * Fixed a bug in sudo_logsrvd when run in store-first relay mode
   where the commit point messages sent by the server were incorrect
   if the command was suspended or received a window size change
   event.

 * Fixed a potential crash in sudo_logsrvd when the "tls_dhparams"
   configuration setting was used.

 * The "intercept" and "log_subcmds" functionality can now use
   ptrace(2) on Linux systems that support seccomp(2) filtering.
   This has the advantage of working for both static and dynamic
   binaries and can work with sudo's SELinux RBAC mode.  The following
   architectures are currently supported: i386, x86_64, aarch64,
   arm, mips (log_subcmds only), powerpc, riscv, and s390x.  The
   default is to use ptrace(2) where possible; the new "intercept_type"
   sudoers setting can be used to explicitly set the type.

 * New Georgian translation from translationproject.org.

 * Fixed creating packages on CentOS Stream.

 * Fixed a bug in the intercept and log_subcmds support where
   the execve(2) wrapper was using the current environment instead
   of the passed environment pointer.  Bug #1030.

 * Added AppArmor integration for Linux.  A sudoers rule can now
   specify an APPARMOR_PROFILE option to run a command confined by
   the named AppArmor profile.

 * Fixed parsing of the "server_log" setting in sudo_logsrvd.conf.
   Non-paths were being treated as paths and an actual path was
   treated as an error.
____________________________________________________________
sudo-announce mailing list <sudo-announce@sudo.ws>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-announce
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2022-06-08 11:51:56 UTC
Approved.  Thanks Cy!
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2022-06-08 13:52:47 UTC
Reassigning to myself for push.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-06-08 13:54:22 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ee710e0b22309a7e87c71b87bf5510aa8678ed8

commit 3ee710e0b22309a7e87c71b87bf5510aa8678ed8
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-06-07 03:56:57 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-06-08 13:51:10 +0000

    security/sudo: Update to 1.9.11

    Major changes between sudo 1.9.11 and 1.9.10:

     * Fixed a crash in the Python module with Python 3.9.10 on some
       systems.  Additionally, "make check" now passes for Python 3.9.10.

     * Error messages sent via email now include more details, including
       the file name and the line number and column of the error.
       Multiple errors are sent in a single message.  Previously, only
       the first error was included.

     * Fixed logging of parse errors in JSON format.  Previously,
       the JSON logger would not write entries unless the command and
       runuser were set.  These may not be known at the time a parse
       error is encountered.

     * Fixed a potential crash parsing sudoers lines larger than twice
       the value of LINE_MAX on systems that lack the getdelim() function.

     * The tests run by "make check" now unset the LANGUAGE environment
       variable.  Otherwise, localization strings will not match if
       LANGUAGE is set to a non-English locale.  Bug #1025.

     * The "starttime" test now passed when run under Debian faketime.
       Bug #1026.

     * The Kerberos authentication module now honors the custom password
       prompt if one has been specified.

     * The embedded copy of zlib has been updated to version 1.2.12.

     * Updated the version of libtool used by sudo to version 2.4.7.

     * Sudo now defines _TIME_BITS to 64 on systems that define __TIMESIZE
       in the header files (currently only GNU libc).  This is required
       to allow the use of 64-bit time values on some 32-bit systems.

     * Sudo's "intercept" and "log_subcmds" options no longer force the
       command to run in its own pseudo-terminal.  It is now also
       possible to intercept the system(3) function.

     * Fixed a bug in sudo_logsrvd when run in store-first relay mode
       where the commit point messages sent by the server were incorrect
       if the command was suspended or received a window size change
       event.

     * Fixed a potential crash in sudo_logsrvd when the "tls_dhparams"
       configuration setting was used.

     * The "intercept" and "log_subcmds" functionality can now use
       ptrace(2) on Linux systems that support seccomp(2) filtering.
       This has the advantage of working for both static and dynamic
       binaries and can work with sudo's SELinux RBAC mode.  The following
       architectures are currently supported: i386, x86_64, aarch64,
       arm, mips (log_subcmds only), powerpc, riscv, and s390x.  The
       default is to use ptrace(2) where possible; the new "intercept_type"
       sudoers setting can be used to explicitly set the type.

     * New Georgian translation from translationproject.org.

     * Fixed creating packages on CentOS Stream.

     * Fixed a bug in the intercept and log_subcmds support where
       the execve(2) wrapper was using the current environment instead
       of the passed environment pointer.  Bug #1030.

     * Added AppArmor integration for Linux.  A sudoers rule can now
       specify an APPARMOR_PROFILE option to run a command confined by
       the named AppArmor profile.

     * Fixed parsing of the "server_log" setting in sudo_logsrvd.conf.
       Non-paths were being treated as paths and an actual path was
       treated as an error.

    PR:             264515
    Approved by:    garga (maintainer)

 security/sudo/Makefile  | 2 +-
 security/sudo/distinfo  | 6 +++---
 security/sudo/pkg-plist | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-06-22 14:05:07 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=981ae9b6ddc1d0484c9e5a72b28104e2e9f0e2fa

commit 981ae9b6ddc1d0484c9e5a72b28104e2e9f0e2fa
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-06-07 03:56:57 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2022-06-22 14:03:15 +0000

    security/sudo: Update to 1.9.11

    Major changes between sudo 1.9.11 and 1.9.10:

     * Fixed a crash in the Python module with Python 3.9.10 on some
       systems.  Additionally, "make check" now passes for Python 3.9.10.

     * Error messages sent via email now include more details, including
       the file name and the line number and column of the error.
       Multiple errors are sent in a single message.  Previously, only
       the first error was included.

     * Fixed logging of parse errors in JSON format.  Previously,
       the JSON logger would not write entries unless the command and
       runuser were set.  These may not be known at the time a parse
       error is encountered.

     * Fixed a potential crash parsing sudoers lines larger than twice
       the value of LINE_MAX on systems that lack the getdelim() function.

     * The tests run by "make check" now unset the LANGUAGE environment
       variable.  Otherwise, localization strings will not match if
       LANGUAGE is set to a non-English locale.  Bug #1025.

     * The "starttime" test now passed when run under Debian faketime.
       Bug #1026.

     * The Kerberos authentication module now honors the custom password
       prompt if one has been specified.

     * The embedded copy of zlib has been updated to version 1.2.12.

     * Updated the version of libtool used by sudo to version 2.4.7.

     * Sudo now defines _TIME_BITS to 64 on systems that define __TIMESIZE
       in the header files (currently only GNU libc).  This is required
       to allow the use of 64-bit time values on some 32-bit systems.

     * Sudo's "intercept" and "log_subcmds" options no longer force the
       command to run in its own pseudo-terminal.  It is now also
       possible to intercept the system(3) function.

     * Fixed a bug in sudo_logsrvd when run in store-first relay mode
       where the commit point messages sent by the server were incorrect
       if the command was suspended or received a window size change
       event.

     * Fixed a potential crash in sudo_logsrvd when the "tls_dhparams"
       configuration setting was used.

     * The "intercept" and "log_subcmds" functionality can now use
       ptrace(2) on Linux systems that support seccomp(2) filtering.
       This has the advantage of working for both static and dynamic
       binaries and can work with sudo's SELinux RBAC mode.  The following
       architectures are currently supported: i386, x86_64, aarch64,
       arm, mips (log_subcmds only), powerpc, riscv, and s390x.  The
       default is to use ptrace(2) where possible; the new "intercept_type"
       sudoers setting can be used to explicitly set the type.

     * New Georgian translation from translationproject.org.

     * Fixed creating packages on CentOS Stream.

     * Fixed a bug in the intercept and log_subcmds support where
       the execve(2) wrapper was using the current environment instead
       of the passed environment pointer.  Bug #1030.

     * Added AppArmor integration for Linux.  A sudoers rule can now
       specify an APPARMOR_PROFILE option to run a command confined by
       the named AppArmor profile.

     * Fixed parsing of the "server_log" setting in sudo_logsrvd.conf.
       Non-paths were being treated as paths and an actual path was
       treated as an error.

    PR:             264515
    Approved by:    garga (maintainer)

    (cherry picked from commit 3ee710e0b22309a7e87c71b87bf5510aa8678ed8)

 security/sudo/Makefile  | 2 +-
 security/sudo/distinfo  | 6 +++---
 security/sudo/pkg-plist | 3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)