Commit Graph

36 Commits

Author SHA256 Message Date
Ana Guerrero
649b0fa38d Accepting request 1178143 from network
OBS-URL: https://build.opensuse.org/request/show/1178143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=14
2024-06-03 15:43:43 +00:00
7786c88f98 Accepting request 1175705 from home:dimstar:Factory
- Add 1229.patch: Fix build with autoconf-2.72.

OBS-URL: https://build.opensuse.org/request/show/1175705
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=35
2024-06-02 10:14:33 +00:00
Dominique Leuenberger
4f0f7c0bcf Accepting request 1077833 from network
OBS-URL: https://build.opensuse.org/request/show/1077833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=13
2023-04-07 16:17:04 +00:00
119c49fdce Accepting request 1077732 from home:dimstar:Factory
- Add heimdal-CVE-2022-45142.patch: Fix logic inversion introduced
  when fixing/backporting CVE-2022-3437 (CVE-2022-45142,
  boo#1208992).

OBS-URL: https://build.opensuse.org/request/show/1077732
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=33
2023-04-07 07:47:55 +00:00
Dominique Leuenberger
360f1199f8 Accepting request 1057937 from network
OBS-URL: https://build.opensuse.org/request/show/1057937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=12
2023-01-12 21:45:10 +00:00
f4dbf2d204 Accepting request 1057736 from home:msmeissn:branches:network
- replace libheimdal conflicts by obsoletes / provides to provide a
  smooth update in the new libheimdal-devel.

OBS-URL: https://build.opensuse.org/request/show/1057736
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=31
2023-01-12 09:19:20 +00:00
Dominique Leuenberger
51e7f870ae Accepting request 1044099 from network
OBS-URL: https://build.opensuse.org/request/show/1044099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=11
2022-12-22 15:22:41 +00:00
0c16052a9f Accepting request 1044076 from home:enzokiel:branches:network
- Update to version 7.8.0
  + This release includes both the Heimdal 7.7.1 Security
    Vulnerability fixes and non-Security bug fixes/improvements.
  + Security Vulnerabilities:
    - CVE-2022-42898 PAC parse integer overflows
    - CVE-2022-3437 Overflows and non-constant time leaks in
      DES{,3} and arcfour
    - CVE-2022-41916 Fix Unicode normalization read of 1 bytes past
      end of array
    - CVE-2021-44758 A null pointer de-reference DoS in SPNEGO
      acceptors
    - CVE-2021-3671 A null pointer de-reference when handling
      missing sname in TGS-REQ
    - CVE-2022-44640 Heimdal KDC: invalid free in ASN.1 codec
        Note that CVE-2022-44640 is a severe vulnerability,
        possibly a 10.0 on the Common Vulnerability Scoring
        System (CVSS) v3, as we believe it should be possible to
        get an RCE on a KDC, which means that credentials can be
        compromised that can be used to impersonate anyone in a
        realm or forest of realms.
        Heimdal's ASN.1 compiler generates code that allows
        specially crafted DER encodings of CHOICEs to invoke the
        wrong free function on the decoded structure upon decode
        error. This is known to impact the Heimdal KDC, leading to
        an invalid free() of an address partly or wholly under the
        control of the attacker, in turn leading to a potential
        remote code execution (RCE) vulnerability.
        This error affects the DER codec for all extensible CHOICE
        types used in Heimdal, though not all cases will be
        exploitable. We have not completed a thorough analysis of
        all the Heimdal components affected, thus the Kerberos
        client, the X.509 library, and other parts, may be affected
        as well.
        This bug has been in Heimdal's ASN.1 compiler since 2005,
        but it may only affect Heimdal 1.6 and up. It was first
        reported by Douglas Bagnall, though it had been found
        independently by the Heimdal maintainers via fuzzing a few
        weeks earlier.
        While no zero-day exploit is known, such an exploit will
        likely be available soon after public disclosure.
    - CVE-2019-14870: Validate client attributes in
      protocol-transition
    - CVE-2019-14870: Apply forwardable policy in
      protocol-transition
    - CVE-2019-14870: Always lookup impersonate client in DB
  + Other changes:
    - Bugs found by UBSAN (including the incorrect encoding of
      unconstrained INTEGER value -1).
    - Errors found by the LLVM scan-build static analyzer.
    - Errors found by the valgrind memory debugger.
    - Work around GCC Bug 95189 (memcmp wrongly stripped like
      strcmp).
    - Correct ASN.1 OID typo for SHA-384
    - Fix a deadlock in in the MEMORY ccache type.
    - TGS: strip forwardable and proxiable flags if the server is
      disallowed.
    - CVE-2019-14870: Validate client attributes in
      protocol-transition
    - CVE-2019-14870: Apply forwardable policy in
      protocol-transition
    - CVE-2019-14870: Always lookup impersonate client in DB
    - Incremental HDB propagation improvements
        Refactor send_diffs making it progressive
        Handle partial writes on non-blocking sockets
        Disable Nagle in iprop master and slave
        Use async I/O
        Don't send I_HAVE in response to AYT
        Do not recover log in kadm5_get_principal()
        Don't send diffs to slaves with not yet known version
        Don't stutter in send_diffs
    - Optional backwards-compatible anon-pkinit behavior
- Removed heimdal-7.7.0-autoconf-2.70.patch, fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/1044076
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=29
2022-12-21 16:08:09 +00:00
Dominique Leuenberger
e18d9a64c4 Accepting request 986470 from network
OBS-URL: https://build.opensuse.org/request/show/986470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=10
2022-07-03 16:26:34 +00:00
cd7ced2f11 Accepting request 986120 from home:1Antoine1:branches:network
- Add ldconfig scriptlets.
- Fix 'Conflicts:' tags.
- Remove obsolete macros and conditionals.
- Ran spec-cleaner.

OBS-URL: https://build.opensuse.org/request/show/986120
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=27
2022-07-03 15:26:21 +00:00
a4d27825eb Accepting request 985672 from home:1Antoine1:branches:network
- Add heimdal-7.7.0-autoconf-2.70.patch: Fix build with autoconf
  2.70 (gh#heimdal/heimdal#856).

OBS-URL: https://build.opensuse.org/request/show/985672
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=26
2022-06-29 07:23:29 +00:00
Jörg Lorenzen
4e56cd539c Accepting request 979171 from home:jengelh:branches:network
- Apply Shared Library Packaging Policy and resolve rpmlint
  errors like "libheimdal.x86_64: E: shlib-policy-name-error
  SONAME: libasn1.so.8, expected package suffix: 8"

OBS-URL: https://build.opensuse.org/request/show/979171
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=25
2022-05-25 16:23:12 +00:00
Dominique Leuenberger
3bd7606c55 Accepting request 711481 from network
OBS-URL: https://build.opensuse.org/request/show/711481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=9
2019-06-24 19:52:23 +00:00
Jörg Lorenzen
9fa5448fd0 Accepting request 711480 from home:enzokiel:branches:network
- Update to version 7.7.0
  + Bug fixes:
    - PKCS#11 hcrypto back-end:
      + initialize the p11_module_load function list
      + verify that not only is a mechanism present but that its
        mechanism info states that it offers the required
        encryption, decryption or digest services
    - krb5:
      + Starting with 7.6, Heimdal permitted requesting
        authenticated anonymous tickets. However, it did not
        verify that a KDC in fact returned an anonymous ticket
        when one was requested.
      + Cease setting the KDCOption reaquest_anonymous flag when
        issuing S4UProxy (constrained delegation) TGS requests.
      + when the Win2K PKINIT compatibility option is set, do not
        require krbtgt otherName to match when validating KDC
        certificate.
      + set PKINIT_BTMM flag per Apple implementation
      + use memset_s() instead of memset()
    - kdc:
      + When generating KRB5SignedPath in the AS, use the reply
        client name rather than the one from the request, so
        validation will work correctly in the TGS.
      + allow checksum of PA-FOR-USER to be HMAC_MD5. Even if TGT
        used an enctype with a different checksum. Per [MS-SFU]
        2.2.1 PA-FOR-USER the checksum is always HMAC_MD5, and
        that's what Windows and MIT clients send.
        In Heimdal both the client and kdc use instead the
        checksum of the TGT, and therefore work with each other
        but Windows and MIT clients fail against Heimdal KDC.
        Both Windows and MIT KDC would allow any keyed checksum
        to be used so Heimdal client work fine against it.
        Change Heimdal KDC to allow HMAC_MD5 even for non RC4
        based TGT in order to support per-spec clients.
      + use memset_s() instead of memset()
      + Detect Heimdal 1.0 through 7.6 clients that issue
        S4UProxy (constrained delegation) TGS Requests with the
        request anonymous flag set. These requests will be
        treated as S4UProxy requests and not anonymous requests.
    - HDB:
      + Set SQLite3 backend default page size to 8KB.
      + Add hdb_set_sync() method
    - kadmind:
      + disable HDB sync during database load avoiding
        unnecessary disk i/o.
    - ipropd:
      + disable HDB sync during receive_everything. Doing an
        fsync per-record when receiving the complete HDB is a
        performance disaster. Among other things, if the HDB is
        very large, then one slave receving a full HDB can cause
        other slaves to timeout and, if HDB write activity is
        high enough to cause iprop log truncation, then also need
        full syncs, which leads to a cycle of full syncs for all
        slaves until HDB write activity drops.
        Allowing the iprop log to be larger helps, but improving
        receive_everything() performance helps even more.
    - kinit:
      + Anonymous PKINIT tickets discard the realm information
        used to locate the issuing AS. Store the issuing realm in
        the credentials cache in order to locate a KDC which can
        renew them.
      + Do not leak the result of krb5_cc_get_config() when
        determining anonymous PKINIT start realm.
    - klist:
      + Show transited-policy-checked, ok-as-delegate and
        anonymous flags when listing credentials.
    - tests:
      + Regenerate certs so that they expire before the 2038
        armageddon so the test suite will pass on 32-bit
        operating systems until the underlying issues can be
        resolved.
    - Solaris:
      + Define _STDC_C11_BCI for memset_s prototype
    - build tooling:
      + Convert from python 2 to python 3
    - documentation:
      + rename verify-password to verify-password-quality
      + hprop default mode is encrypt
      + kadmind "all" permission does not include "get-keys"
      + verify-password-quality might not be stateless
- Version 7.6.0
  + Security (#555):
    - CVE-2018-16860 Heimdal KDC: Reject PA-S4U2Self with unkeyed
      checksum
      When the Heimdal KDC checks the checksum that is placed on
      the S4U2Self packet by the server to protect the requested
      principal against modification, it does not confirm that
      the checksum algorithm that protects the user name
      (principal) in the request is keyed. This allows a
      man-in-the-middle attacker who can intercept the request to
      the KDC to modify the packet by replacing the user name
      (principal) in the request with any desired user name
      (principal) that exists in the KDC and replace the checksum
      protecting that name with a CRC32 checksum (which requires
      no prior knowledge to compute).
      This would allow a S4U2Self ticket requested on behalf of
      user name (principal) user@EXAMPLE.COM to any service to be
      changed to a S4U2Self ticket with a user name (principal) of
      Administrator@EXAMPLE.COM. This ticket would then contain
      the PAC of the modified user name (principal).
    - CVE-2019-12098, client-only:
      RFC8062 Section 7 requires verification of the PA-PKINIT-KX
      key exchange when anonymous PKINIT is used. Failure to do
      so can permit an active attacker to become a
      man-in-the-middle.
  + Bug fixes:
    - Happy eyeballs: Don't wait for responses from
      known-unreachable KDCs.
    - kdc:
      + check return copy_Realm, copy_PrincipalName,
        copy_EncryptionKey
    - kinit:
      + cleanup temporary ccaches
      + see man page for "kinit --anonymous" command line syntax
        change
    - kdc:
      + Make anonymous AS-requests more RFC8062-compliant.
        Updated expired test certificates
    - Solaris:
      + PKCS#11 hcrypto backend broken since 7.0.1
      + Building with Sun Pro C
  + Features:
    - kuser: support authenticated anonymous AS-REQs in kinit
    - kdc: support for anonymous TGS-REQs
    - kgetcred support for anonymous service tickets
    - Support builds with OpenSSL 1.1.1
- fixed heimdal-patched.diff and reproducible.patch

OBS-URL: https://build.opensuse.org/request/show/711480
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=23
2019-06-23 01:01:11 +00:00
Dominique Leuenberger
2fc94d5858 Accepting request 627946 from network
OBS-URL: https://build.opensuse.org/request/show/627946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=8
2018-08-08 12:53:55 +00:00
Jörg Lorenzen
85f30dff55 Accepting request 627941 from home:bmwiedemann:branches:network
Add reproducible.patch to override build date (boo#1047218)
Use constant hostname (boo#1084909)

OBS-URL: https://build.opensuse.org/request/show/627941
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=21
2018-08-07 19:30:16 +00:00
Dominique Leuenberger
bbcb11a57c Accepting request 560559 from network
OBS-URL: https://build.opensuse.org/request/show/560559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=7
2018-01-19 10:51:04 +00:00
Jörg Lorenzen
544cfdcdbc Accepting request 560558 from home:enzokiel:branches:network
- Update to version 7.5.0
  - Security
    - Fix CVE-2017-17439, which is a remote denial of service
      vulnerability:
      In Heimdal 7.1 through 7.4, remote unauthenticated attackers
      are able to crash the KDC by sending a crafted UDP packet
      containing empty data fields for client name or realm.
  - Bug fixes
    - Handle long input lines when reloading database dumps.
    - In pre-forked mode (default on Unix), correctly clear the
      process ids of exited children, allowing new child processes
      to replace the old.
    - Fixed incorrect KDC response when no-cross realm TGT exists,
      allowing client requests to fail quickly rather than time
      out after trying to get a correct answer from each KDC.
- Fixed heimdal-patched.diff.
- Removed Avoid_NULL_structure_pointer_member_dereference.patch,
  fixed upstream.

OBS-URL: https://build.opensuse.org/request/show/560558
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=19
2017-12-29 13:46:40 +00:00
Dominique Leuenberger
2884a70433 Accepting request 555083 from network
OBS-URL: https://build.opensuse.org/request/show/555083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=6
2017-12-08 12:01:49 +00:00
Jörg Lorenzen
c581032039 Accepting request 555082 from home:enzokiel:branches:network
- Added Avoid_NULL_structure_pointer_member_dereference.patch,
  fixes (bsc#1071675).

OBS-URL: https://build.opensuse.org/request/show/555082
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=17
2017-12-07 15:44:48 +00:00
Yuchen Lin
dc762e5c7e Accepting request 514480 from network
1

OBS-URL: https://build.opensuse.org/request/show/514480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=5
2017-08-10 12:05:08 +00:00
Jörg Lorenzen
6706c5821e Accepting request 514479 from home:enzokiel:branches:network
Update to version 7.4.0

OBS-URL: https://build.opensuse.org/request/show/514479
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=15
2017-08-03 20:53:12 +00:00
Dominique Leuenberger
e81ef165ba Accepting request 503989 from network
1

OBS-URL: https://build.opensuse.org/request/show/503989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=4
2017-06-16 08:54:53 +00:00
Jörg Lorenzen
af164c2c62 Accepting request 503988 from home:enzokiel:branches:network
Update to version 7.3.0

OBS-URL: https://build.opensuse.org/request/show/503988
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=13
2017-06-15 21:06:08 +00:00
Dominique Leuenberger
ab216741a8 Accepting request 454084 from network
1

OBS-URL: https://build.opensuse.org/request/show/454084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=3
2017-02-05 14:49:56 +00:00
Jörg Lorenzen
7fc88aced9 Accepting request 454033 from home:jengelh:branches:network
- Summary and RPM group update. Do a direct call to ldconfig
  where possible.

OBS-URL: https://build.opensuse.org/request/show/454033
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=11
2017-02-02 08:34:18 +00:00
Dominique Leuenberger
4663486a3c Accepting request 449142 from network
1

OBS-URL: https://build.opensuse.org/request/show/449142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=2
2017-01-27 10:07:17 +00:00
Jörg Lorenzen
f7981ad0ce Accepting request 449141 from home:enzokiel:branches:network
OBS-URL: https://build.opensuse.org/request/show/449141
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=9
2017-01-07 23:58:55 +00:00
Dominique Leuenberger
b5ddc80291 Accepting request 329273 from network
OBS-URL: https://build.opensuse.org/request/show/329273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libheimdal?expand=0&rev=1
2015-09-08 15:43:14 +00:00
Jörg Lorenzen
d31e954f39 Accepting request 329265 from home:enzokiel:branches:network
- Added a patched instead of the original tarball because only
  shared libraries will be build and source files of these (not to
  be build) programs have problematic licenses.
- Added script heimdal-patch-source.sh to sources.
- Added patch heimdal-patched.diff that fixes configure.ac and
  several Makefile.am files to successfully build patched source.
- Removed unneeded dependencies in spec file for build.

OBS-URL: https://build.opensuse.org/request/show/329265
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=7
2015-09-05 11:04:36 +00:00
Jörg Lorenzen
76c4f6bbd8 Accepting request 328589 from home:enzokiel:branches:network
Added Conflicts tags to spec file because devel package conflicts
  with krb5-devel and krb5-mini-devel.

OBS-URL: https://build.opensuse.org/request/show/328589
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=6
2015-09-02 08:52:27 +00:00
Jörg Lorenzen
034647761b Accepting request 328401 from home:enzokiel:branches:network
Some changes in spec file to enable build for SLES

OBS-URL: https://build.opensuse.org/request/show/328401
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=5
2015-09-01 21:47:16 +00:00
34e07eeb39 OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=4 2015-09-01 12:36:24 +00:00
b751e1507f OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=3 2015-09-01 12:36:09 +00:00
5e6270e6ed OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=2 2015-09-01 12:35:39 +00:00
dc585d07a6 Accepting request 328047 from home:enzokiel
- Initial package, version 1.6rc2

OBS-URL: https://build.opensuse.org/request/show/328047
OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=1
2015-09-01 11:03:52 +00:00