Richard Levitte
d63b3e7959
Restrict the size of OBJECT IDENTIFIERs that OBJ_obj2txt will translate
...
OBJ_obj2txt() would translate any size OBJECT IDENTIFIER to canonical
numeric text form. For gigantic sub-identifiers, this would take a very
long time, the time complexity being O(n^2) where n is the size of that
sub-identifier.
To mitigate this, a restriction on the size that OBJ_obj2txt() will
translate to canonical numeric text form is added, based on RFC 2578
(STD 58), which says this:
> 3.5. OBJECT IDENTIFIER values
>
> An OBJECT IDENTIFIER value is an ordered list of non-negative numbers.
> For the SMIv2, each number in the list is referred to as a sub-identifier,
> there are at most 128 sub-identifiers in a value, and each sub-identifier
> has a maximum value of 2^32-1 (4294967295 decimal).
Fixes otc/security#96
Fixes CVE-2023-2650
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
2023-06-06 10:48:50 +02:00
..
2023-04-28 09:19:49 +02:00
2022-05-24 14:11:20 +10:00
2023-06-01 09:56:20 +02:00
2022-10-05 14:02:03 +02:00
2023-01-31 11:10:22 +11:00
2023-03-07 15:24:54 +01:00
2023-05-11 12:26:00 +10:00
2022-10-05 14:02:03 +02:00
2022-05-24 13:16:06 +10:00
2023-01-31 11:10:22 +11:00
2023-03-29 12:21:31 +02:00
2022-10-05 14:02:03 +02:00
2023-06-06 11:05:02 +10:00
2023-06-01 09:56:20 +02:00
2022-11-07 11:23:13 +01:00
2023-05-08 10:33:48 +01:00
2023-05-30 22:02:10 +02:00
2022-10-05 14:02:03 +02:00
2023-01-31 11:10:22 +11:00
2023-04-03 10:31:04 +02:00
2023-04-03 10:31:04 +02:00
2022-10-28 12:11:30 +02:00
2023-05-11 19:45:34 +02:00
2022-10-14 12:53:02 +11:00
2023-05-09 17:31:43 +02:00
2023-06-06 11:05:02 +10:00
2022-10-05 14:02:03 +02:00
2023-06-01 09:50:28 +02:00
2023-04-03 10:31:04 +02:00
2021-06-23 23:00:36 +02:00
2023-04-14 13:11:24 +10:00
2023-04-28 09:55:27 +02:00
2023-01-31 11:10:22 +11:00
2022-10-07 10:05:50 +02:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-04-28 14:36:35 +02:00
2023-01-31 11:10:22 +11:00
2023-05-31 10:50:28 +10:00
2023-06-06 10:48:50 +02:00
2023-01-31 11:05:51 +11:00
2023-02-07 17:05:10 +01:00
2023-03-16 13:12:19 +11:00
2023-05-30 22:02:10 +02:00
2023-06-01 09:50:28 +02:00
2023-03-29 12:21:31 +02:00
2023-02-22 10:03:14 +11:00
2023-05-30 17:19:11 +01:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-06-01 10:02:28 +10:00
2023-01-31 11:10:22 +11:00
2023-03-29 12:21:31 +02:00
2022-10-12 16:55:01 +11:00
2023-03-31 14:57:47 -04:00
2023-05-31 10:50:28 +10:00
2023-02-06 12:36:07 +01:00
2022-10-20 19:04:44 +11:00
2023-04-28 09:24:06 +02:00
2022-10-12 16:55:01 +11:00
2023-04-03 08:19:43 +10:00
2022-10-12 16:55:01 +11:00
2022-10-21 15:56:32 +02:00
2023-05-17 12:07:02 +02:00
2023-01-31 11:10:22 +11:00
2023-06-06 11:05:02 +10:00
2022-05-03 13:34:51 +01:00
2023-02-08 16:54:57 +01:00
2023-03-29 12:21:31 +02:00
2023-03-29 12:21:31 +02:00
2021-04-08 13:04:41 +01:00
2023-06-02 15:13:20 +10:00
2023-04-24 11:31:57 +02:00
2022-10-05 14:02:03 +02:00
2022-07-20 07:28:17 +01:00
2022-06-22 09:36:14 +02:00
2022-01-12 20:10:21 +11:00
2022-05-03 13:34:51 +01:00
2023-04-13 10:25:55 +01:00
2023-01-04 12:53:05 +01:00
2022-06-27 10:58:40 +02:00
2022-12-16 18:57:42 +01:00
2022-05-03 13:34:51 +01:00
2023-05-30 17:26:02 +01:00
2022-05-03 13:34:51 +01:00
2023-01-10 12:15:42 +01:00
2022-10-18 09:30:21 -04:00
2022-05-03 13:34:51 +01:00
2022-10-12 18:02:12 +11:00
2022-10-12 18:02:12 +11:00
2022-10-12 18:02:12 +11:00
2022-05-03 13:34:51 +01:00
2023-01-12 10:46:52 +01:00
2022-08-27 09:40:09 +02:00
2022-05-03 13:34:51 +01:00
2022-10-12 16:55:01 +11:00
2022-05-03 13:34:51 +01:00
2022-10-05 14:02:03 +02:00
2021-03-11 13:27:36 +00:00
2023-02-08 16:20:55 +01:00
2022-05-03 13:34:51 +01:00
2023-01-11 23:38:13 +01:00
2022-10-05 14:02:03 +02:00
2022-10-05 14:02:03 +02:00
2023-06-02 15:13:20 +10:00
2023-05-22 07:45:10 +01:00
2022-10-05 14:02:03 +02:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2023-02-01 08:20:08 +11:00
2022-10-05 14:02:03 +02:00
2023-06-02 09:12:42 +10:00
2021-06-24 14:48:15 +01:00
2021-06-24 14:48:15 +01:00
2022-10-05 14:02:03 +02:00
2023-02-08 16:17:37 +01:00
2023-01-13 13:20:16 +00:00
2022-09-05 10:20:30 +10:00
2022-05-19 16:32:49 +10:00
2022-05-19 16:32:49 +10:00
2023-03-07 18:21:51 +01:00
2023-02-08 16:53:12 +01:00
2022-05-03 13:34:51 +01:00
2023-05-30 21:10:03 +02:00
2021-07-15 09:33:04 +02:00
2022-07-22 14:42:13 +02:00
2022-11-14 07:47:53 +00:00
2023-05-24 10:34:54 +01:00
2023-05-24 10:34:54 +01:00
2023-05-24 10:34:55 +01:00
2023-04-13 10:25:55 +01:00
2023-01-26 09:16:51 +01:00
2021-09-02 10:02:32 +10:00
2021-04-08 13:04:41 +01:00