-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.0.0
-
None
-
Low
-
rhel-sst-security-crypto
-
ssg_security
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
RFC 5869 2.3 requires that requested output length of HKDF-Expand to
be equal to or less than 255 times hash output size. However, GnuTLS doesn't enforce this restriction.
Version-Release number of selected component (if applicable):
gnutls-3.7.6-12.el9_0
How reproducible:
always
Steps to Reproduce:
1. call `gnutls_hkdf_expand` with output size larger than 255 * hash length
2.
3.
Actual results:
The function succeeds.
Expected results:
The function should return an error.
Additional info:
From FIPS point of view, this is not a blocker, as the generic use of HKDF is not approved in FIPS mode, and the TLS use doesn't require generating output keying material longer than 255 * hash length.