Subject: CVS commit: pkgsrc/security
From: Thomas Klausner
Date: 2022-02-24 12:00:04
Message id: 20220224110004.50746FB24@cvs.NetBSD.org

Log Message:
cyrus-sasl: update to 2.1.28

New in 2.1.28

    build:
        configure - Restore LIBS after checking gss_inquire_sec_context_by_oid
        makemd5.c - Fix potential out of bound writes
        fix build with –disable-shared –enable-static
        Dozens of fixes for Windows specific builds
        Fix cross platform builds with SPNEGO
        Do not try to build broken java subtree
        Fix build error with –enable-auth-sasldb
    common:
        plugin_common.c:
            Ensure size is always checked if called repeatedly (#617)
    documentation:
        Fixed generation of saslauthd(8) man page
        Fixed installation of saslauthd(8) and testsaslauthd(8) man pages (#373)
        Updates for additional SCRAM mechanisms
        Fix sasl_decode64 and sasl_encode64 man pages
        Tons of fixes for Sphinx
    include:
        sasl.h:
            Allow up to 16 bits for security flags
    lib:
        checkpw.c:
            Skip one call to strcat
            Disable auxprop-hashed (#374)
        client.c:
            Use proper length for fully qualified domain names
        common.c:
            CVE-2019-19906 Fix off by one error (#587)
        external.c:
            fix EXTERNAL with non-terminated input (#689)
        saslutil.c:
            fix index_64 to be a signed char (#619)
    plugins:
        gssapi.c:
            Emit debug log only in case of errors
        ntlm.c:
            Fail compile if MD4 is not available (#632)
        sql.c:
            Finish reading residual return data (#639)
            CVE-2022-24407 Escape password for SQL insert/update commands.
    sasldb:
        db_gdbm.c:
            fix gdbm_errno overlay from gdbm_close
    DIGEST-MD5 plugin:
        Prevent double free of RC4 context
        Use OpenSSL RC4 implementation if available
    SCRAM plugin:
        Return BADAUTH on incorrect password (#545)
        Add -224, -384, -512 (#552)
        Remove SCRAM_HASH_SIZE
        Add function to return SCRAM auth method name
        Allocate enough memory in scam_setpass()
        Add function to sort SCRAM methods by hash strength
        Update windows build for newer SCRAM options
    saslauthd:
        auth_httpform.c:
            Avoid signed overflow with non-ascii characters (#576)
        auth_krb5.c:
            support setting an explicit auth_krb5 server name
            support setting an explicit servername with Heimdal
            unify the MIT and Heimdal auth_krb5 implementations
            Remove call to krbtf
        auth_rimap.c:
            provide native memmem implementation if missing
        lak.c:
            Allow LDAP_OPT_X_TLS_REQUIRE_CERT to be 0 (no certificate verification)
        lak.h:
            Increase supported DN length to 4096 (#626)

Files:
RevisionActionfile
1.24modifypkgsrc/security/cy2-digestmd5/Makefile
1.31modifypkgsrc/security/cy2-gssapi/Makefile
1.16modifypkgsrc/security/cy2-ldapdb/Makefile
1.32modifypkgsrc/security/cy2-ntlm/Makefile
1.25modifypkgsrc/security/cy2-otp/Makefile
1.12modifypkgsrc/security/cy2-scram/Makefile
1.49modifypkgsrc/security/cy2-sql/Makefile
1.80modifypkgsrc/security/cyrus-sasl/Makefile
1.34modifypkgsrc/security/cyrus-sasl/Makefile.common
1.41modifypkgsrc/security/cyrus-sasl/distinfo
1.57modifypkgsrc/security/cyrus-saslauthd/Makefile
1.15modifypkgsrc/security/cyrus-saslauthd/PLIST
1.1removepkgsrc/security/cyrus-sasl/patches/patch-CVE-2019-19906
1.2removepkgsrc/security/cyrus-sasl/patches/patch-saslauthd_Makefile.in