SUSE 5154 Published by

The following updates has been released for openSUSE:

openSUSE-SU-2019:1682-1: moderate: Security update for libheimdal
openSUSE-SU-2019:1683-1: moderate: Security update for ImageMagick
openSUSE-SU-2019:1688-1: moderate: Security update for libheimdal



openSUSE-SU-2019:1682-1: moderate: Security update for libheimdal

openSUSE Security Update: Security update for libheimdal
______________________________________________________________________________

Announcement ID: openSUSE-SU-2019:1682-1
Rating: moderate
References: #1047218 #1084909
Cross-References: CVE-2018-16860 CVE-2019-12098
Affected Products:
openSUSE Leap 42.3
openSUSE Leap 15.1
openSUSE Leap 15.0
______________________________________________________________________________

An update that fixes two vulnerabilities is now available.

Description:

This update for libheimdal fixes the following issues:

libheimdal was updated 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.

- 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

+ 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


Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".

Alternatively you can run the command listed for your product:

- openSUSE Leap 42.3:

zypper in -t patch openSUSE-2019-1682=1

- openSUSE Leap 15.1:

zypper in -t patch openSUSE-2019-1682=1

- openSUSE Leap 15.0:

zypper in -t patch openSUSE-2019-1682=1



Package List:

- openSUSE Leap 42.3 (i586 x86_64):

libheimdal-7.7.0-12.1
libheimdal-debuginfo-7.7.0-12.1
libheimdal-debugsource-7.7.0-12.1
libheimdal-devel-7.7.0-12.1

- openSUSE Leap 15.1 (x86_64):

libheimdal-7.7.0-lp151.3.3.1
libheimdal-debuginfo-7.7.0-lp151.3.3.1
libheimdal-debugsource-7.7.0-lp151.3.3.1
libheimdal-devel-7.7.0-lp151.3.3.1

- openSUSE Leap 15.0 (x86_64):

libheimdal-7.7.0-lp150.2.3.1
libheimdal-debuginfo-7.7.0-lp150.2.3.1
libheimdal-debugsource-7.7.0-lp150.2.3.1
libheimdal-devel-7.7.0-lp150.2.3.1


References:

https://www.suse.com/security/cve/CVE-2018-16860.html
https://www.suse.com/security/cve/CVE-2019-12098.html
https://bugzilla.suse.com/1047218
https://bugzilla.suse.com/1084909

--


openSUSE-SU-2019:1683-1: moderate: Security update for ImageMagick

openSUSE Security Update: Security update for ImageMagick
______________________________________________________________________________

Announcement ID: openSUSE-SU-2019:1683-1
Rating: moderate
References: #1133204 #1133205 #1133498 #1133501 #1134075
#1135232 #1135236 #1136183 #1136732 #1138425
#1138464
Cross-References: CVE-2017-12805 CVE-2017-12806 CVE-2019-10131
CVE-2019-11470 CVE-2019-11472 CVE-2019-11505
CVE-2019-11506 CVE-2019-11597 CVE-2019-11598

Affected Products:
openSUSE Leap 42.3
______________________________________________________________________________

An update that solves 9 vulnerabilities and has two fixes
is now available.

Description:

This update for ImageMagick fixes the following issues:

Security issues fixed:

- CVE-2019-11597: Fixed a heap-based buffer over-read in the
WriteTIFFImage() (bsc#1138464).
- Fixed a file content disclosure via SVG and WMF decoding (bsc#1138425).-
CVE-2019-11472: Fixed a denial of service in ReadXWDImage()
(bsc#1133204).
- CVE-2019-11470: Fixed a denial of service in ReadCINImage()
(bsc#1133205).
- CVE-2019-11506: Fixed a heap-based buffer overflow in the
WriteMATLABImage() (bsc#1133498).
- CVE-2019-11505: Fixed a heap-based buffer overflow in the
WritePDBImage() (bsc#1133501).
- CVE-2019-10131: Fixed a off-by-one read in formatIPTCfromBuffer function
in coders/meta.c (bsc#1134075).
- CVE-2017-12806: Fixed a denial of service through memory exhaustion in
format8BIM() (bsc#1135232).
- CVE-2017-12805: Fixed a denial of service through memory exhaustion in
ReadTIFFImage() (bsc#1135236).
- CVE-2019-11598: Fixed a heap-based buffer over-read in WritePNMImage()
(bsc#1136732)

We also now disable PCL in the -SUSE configuration, as it also uses
ghostscript for decoding (bsc#1136183)

This update was imported from the SUSE:SLE-12:Update update project.


Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".

Alternatively you can run the command listed for your product:

- openSUSE Leap 42.3:

zypper in -t patch openSUSE-2019-1683=1



Package List:

- openSUSE Leap 42.3 (i586 x86_64):

ImageMagick-6.8.8.1-85.1
ImageMagick-config-6-SUSE-6.8.8.1-85.1
ImageMagick-config-6-upstream-6.8.8.1-85.1
ImageMagick-debuginfo-6.8.8.1-85.1
ImageMagick-debugsource-6.8.8.1-85.1
ImageMagick-devel-6.8.8.1-85.1
ImageMagick-extra-6.8.8.1-85.1
ImageMagick-extra-debuginfo-6.8.8.1-85.1
libMagick++-6_Q16-3-6.8.8.1-85.1
libMagick++-6_Q16-3-debuginfo-6.8.8.1-85.1
libMagick++-devel-6.8.8.1-85.1
libMagickCore-6_Q16-1-6.8.8.1-85.1
libMagickCore-6_Q16-1-debuginfo-6.8.8.1-85.1
libMagickWand-6_Q16-1-6.8.8.1-85.1
libMagickWand-6_Q16-1-debuginfo-6.8.8.1-85.1
perl-PerlMagick-6.8.8.1-85.1
perl-PerlMagick-debuginfo-6.8.8.1-85.1

- openSUSE Leap 42.3 (noarch):

ImageMagick-doc-6.8.8.1-85.1

- openSUSE Leap 42.3 (x86_64):

ImageMagick-devel-32bit-6.8.8.1-85.1
libMagick++-6_Q16-3-32bit-6.8.8.1-85.1
libMagick++-6_Q16-3-debuginfo-32bit-6.8.8.1-85.1
libMagick++-devel-32bit-6.8.8.1-85.1
libMagickCore-6_Q16-1-32bit-6.8.8.1-85.1
libMagickCore-6_Q16-1-debuginfo-32bit-6.8.8.1-85.1
libMagickWand-6_Q16-1-32bit-6.8.8.1-85.1
libMagickWand-6_Q16-1-debuginfo-32bit-6.8.8.1-85.1


References:

https://www.suse.com/security/cve/CVE-2017-12805.html
https://www.suse.com/security/cve/CVE-2017-12806.html
https://www.suse.com/security/cve/CVE-2019-10131.html
https://www.suse.com/security/cve/CVE-2019-11470.html
https://www.suse.com/security/cve/CVE-2019-11472.html
https://www.suse.com/security/cve/CVE-2019-11505.html
https://www.suse.com/security/cve/CVE-2019-11506.html
https://www.suse.com/security/cve/CVE-2019-11597.html
https://www.suse.com/security/cve/CVE-2019-11598.html
https://bugzilla.suse.com/1133204
https://bugzilla.suse.com/1133205
https://bugzilla.suse.com/1133498
https://bugzilla.suse.com/1133501
https://bugzilla.suse.com/1134075
https://bugzilla.suse.com/1135232
https://bugzilla.suse.com/1135236
https://bugzilla.suse.com/1136183
https://bugzilla.suse.com/1136732
https://bugzilla.suse.com/1138425
https://bugzilla.suse.com/1138464

--


openSUSE-SU-2019:1688-1: moderate: Security update for libheimdal

openSUSE Security Update: Security update for libheimdal
______________________________________________________________________________

Announcement ID: openSUSE-SU-2019:1688-1
Rating: moderate
References: #1047218 #1084909
Cross-References: CVE-2018-16860 CVE-2019-12098
Affected Products:
openSUSE Backports SLE-15
______________________________________________________________________________

An update that fixes two vulnerabilities is now available.

Description:

This update for libheimdal fixes the following issues:

libheimdal was updated 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.

- 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

+ 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


This update was imported from the openSUSE:Leap:15.0:Update update project.


Patch Instructions:

To install this openSUSE Security Update use the SUSE recommended installation methods
like YaST online_update or "zypper patch".

Alternatively you can run the command listed for your product:

- openSUSE Backports SLE-15:

zypper in -t patch openSUSE-2019-1688=1



Package List:

- openSUSE Backports SLE-15 (aarch64 ppc64le s390x x86_64):

libheimdal-7.7.0-bp150.2.3.1
libheimdal-devel-7.7.0-bp150.2.3.1


References:

https://www.suse.com/security/cve/CVE-2018-16860.html
https://www.suse.com/security/cve/CVE-2019-12098.html
https://bugzilla.suse.com/1047218
https://bugzilla.suse.com/1084909

--