[openssl/openssl] 483209: Add checks for saltlen and trailerfield to rsa key...

Daniel Fiala noreply at reply.github.openssl.org
Mon Jun 27 08:59:43 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.openssl.org/openssl/openssl
  Commit: 48320997b49b07b5abadec89c7fbe5d5f3d41da4
      https://github.openssl.org/openssl/openssl/commit/48320997b49b07b5abadec89c7fbe5d5f3d41da4
  Author: Daniel Fiala <daniel at openssl.org>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M providers/common/der/der_rsa_key.c
    M test/recipes/15-test_rsapss.t
    A test/recipes/15-test_rsapss_data/negativesaltlen.pem

  Log Message:
  -----------
  Add checks for saltlen and trailerfield to rsa key writer.

Fixes openssl#18168.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18615)


  Commit: 59196250cb45ecd128d2f8bbc47de612167606d3
      https://github.openssl.org/openssl/openssl/commit/59196250cb45ecd128d2f8bbc47de612167606d3
  Author: Daniel Fiala <daniel at openssl.org>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M crypto/der_writer.c
    M doc/internal/man3/ossl_DER_w_bn.pod
    M doc/internal/man7/DERlib.pod
    M include/internal/der.h
    M providers/common/der/der_rsa_key.c

  Log Message:
  -----------
  der_writer: Use uint32_t instead of long.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18615)


  Commit: 08f876d0dea184b071a5aded4c55317e5a63c80e
      https://github.openssl.org/openssl/openssl/commit/08f876d0dea184b071a5aded4c55317e5a63c80e
  Author: Daniel Fiala <daniel at openssl.org>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M providers/common/der/der_rsa_key.c

  Log Message:
  -----------
  Improve checks for invalid saltlen in DER writer.

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18615)


Compare: https://github.openssl.org/openssl/openssl/compare/6162a2402d6b...08f876d0dea1


More information about the openssl-commits mailing list