openssl/crypto/asn1
Job Snijders eadd8c4727 Add appropriate lower bound checks for GeneralizedTime and UTCTime
ITU-T X.690 / ISO/IEC 8825-1 section 11.7 and section 11.8
impose specific constraints on how GeneralizedTime and UTCTime
can be encoded in BER/CER/DER. Following from these constraints
a minimum length can be derived.

Checking the length in this context can potentially help prevent
applications from interpreting an invalid GeneralizedTime as a
valid UTCTime.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23483)
2024-02-25 09:17:41 +01:00
..
a_bitstr.c Copyright year updates 2023-09-07 09:59:15 +01:00
a_d2i_fp.c
a_digest.c
a_dup.c
a_gentm.c
a_i2d_fp.c
a_int.c
a_mbstr.c Fix error handling in ASN1_mbstring_ncopy 2023-12-29 10:23:29 +01:00
a_object.c
a_octet.c
a_print.c
a_sign.c
a_strex.c
a_strnid.c Copyright year updates 2023-09-07 09:59:15 +01:00
a_time.c Add appropriate lower bound checks for GeneralizedTime and UTCTime 2024-02-25 09:17:41 +01:00
a_type.c
a_utctm.c
a_utf8.c
a_verify.c Copyright year updates 2023-09-07 09:59:15 +01:00
ameth_lib.c
asn1_err.c Add appropriate lower bound checks for GeneralizedTime and UTCTime 2024-02-25 09:17:41 +01:00
asn1_gen.c Do not include crypto/asn1.h from internal/cryptlib.h 2023-10-19 10:15:56 +02:00
asn1_item_list.c
asn1_item_list.h
asn1_lib.c
asn1_local.h
asn1_parse.c Copyright year updates 2023-09-07 09:59:15 +01:00
asn_mime.c Copyright year updates 2023-09-07 09:59:15 +01:00
asn_moid.c Harden asn1 oid loader to invalid inputs 2023-12-13 11:10:36 -05:00
asn_mstbl.c Fix NULL pointer deref when parsing the stable section 2024-01-12 10:37:22 +01:00
asn_pack.c Copyright year updates 2023-09-07 09:59:15 +01:00
bio_asn1.c
bio_ndef.c Copyright year updates 2023-09-07 09:59:15 +01:00
build.info
charmap.h
charmap.pl
d2i_param.c
d2i_pr.c Copyright year updates 2023-09-07 09:59:15 +01:00
d2i_pu.c
evp_asn1.c
f_int.c
f_string.c
i2d_evp.c Copyright year updates 2023-09-07 09:59:15 +01:00
n_pkey.c
nsseq.c
p5_pbe.c Copyright year updates 2023-09-07 09:59:15 +01:00
p5_pbev2.c Copyright year updates 2023-09-07 09:59:15 +01:00
p5_scrypt.c Copyright year updates 2023-09-07 09:59:15 +01:00
p8_pkey.c
standard_methods.h Copyright year updates 2023-09-07 09:59:15 +01:00
t_bitst.c
t_pkey.c
t_spki.c
tasn_dec.c Add appropriate lower bound checks for GeneralizedTime and UTCTime 2024-02-25 09:17:41 +01:00
tasn_enc.c
tasn_fre.c
tasn_new.c
tasn_prn.c
tasn_scn.c
tasn_typ.c
tasn_utl.c Copyright year updates 2023-09-07 09:59:15 +01:00
tbl_standard.h
x_algor.c
x_bignum.c
x_info.c
x_int64.c
x_long.c
x_pkey.c
x_sig.c
x_spki.c
x_val.c