Viktor Dukhovni
0890cd13d4
Avoid type errors in EAI-related name check logic.
...
The incorrectly typed data is read only, used in a compare operation, so
neither remote code execution, nor memory content disclosure were possible.
However, applications performing certificate name checks were vulnerable to
denial of service.
The GENERAL_TYPE data type is a union, and we must take care to access the
correct member, based on `gen->type`, not all the member fields have the same
structure, and a segfault is possible if the wrong member field is read.
The code in question was lightly refactored with the intent to make it more
obviously correct.
Fixes CVE-2024-6119
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
2024-09-03 11:58:40 +02:00
..
2024-05-30 18:46:43 +02:00
2022-05-24 14:11:20 +10:00
2024-08-20 11:45:14 +02:00
2024-04-04 08:45:13 +02:00
2023-01-31 11:10:22 +11:00
2024-07-22 06:55:35 -04:00
2024-09-02 10:26:45 +02:00
2022-10-05 14:02:03 +02:00
2024-04-17 09:38:06 +02:00
2023-09-07 09:59:15 +01:00
2024-05-08 11:10:45 +02:00
2024-07-31 09:04:17 +10:00
2024-07-22 06:55:35 -04:00
2024-08-20 11:45:14 +02:00
2023-09-07 09:59:15 +01:00
2024-07-16 21:32:40 +02:00
2024-06-20 13:38:13 +02:00
2022-10-05 14:02:03 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2024-07-12 11:20:23 +02:00
2024-04-09 13:43:26 +02:00
2024-08-23 21:23:53 +02:00
2024-04-09 13:43:26 +02:00
2024-07-09 04:01:44 -04:00
2024-08-29 19:13:07 +02:00
2024-04-30 09:21:30 +02:00
2024-08-30 15:09:10 +02:00
2024-08-29 10:29:53 +02:00
2024-08-22 14:52:43 +02:00
2024-09-02 10:23:22 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2024-07-22 06:55:35 -04:00
2024-04-09 13:43:26 +02:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-12-27 10:15:29 +01:00
2023-01-31 11:10:22 +11:00
2024-09-02 10:26:45 +02:00
2024-08-26 10:38:44 +01:00
2024-08-29 10:29:53 +02:00
2024-07-22 06:55:35 -04:00
2024-06-26 12:03:45 +02:00
2024-08-20 11:45:14 +02:00
2024-08-29 10:29:53 +02:00
2024-04-17 09:41:14 +02:00
2024-07-16 06:05:14 -04:00
2024-08-19 12:27:41 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-01-31 11:10:22 +11:00
2024-08-29 10:29:53 +02:00
2023-01-31 11:10:22 +11:00
2024-08-29 19:26:06 +02:00
2022-10-12 16:55:01 +11:00
2024-08-29 10:29:53 +02:00
2024-07-12 11:09:02 +01:00
2024-07-22 06:55:35 -04:00
2023-09-28 14:23:29 +01:00
2024-04-09 13:43:26 +02:00
2024-07-22 06:55:35 -04:00
2023-09-07 09:59:15 +01:00
2024-08-29 10:29:53 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-04-17 09:38:06 +02:00
2024-09-03 11:58:40 +02:00
2022-05-03 13:34:51 +01:00
2024-04-09 13:43:26 +02:00
2024-09-02 16:12:48 +02:00
2023-09-07 09:59:15 +01:00
2024-07-11 08:29:43 +10:00
2024-05-28 08:56:13 +02:00
2024-07-11 08:29:43 +10:00
2022-10-05 14:02:03 +02:00
2022-07-20 07:28:17 +01:00
2024-08-21 15:21:26 +02:00
2024-08-21 15:21:26 +02:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-07-09 04:01:44 -04:00
2024-08-07 19:09:43 +02:00
2022-06-27 10:58:40 +02:00
2024-05-02 09:21:30 +02:00
2022-05-03 13:34:51 +01:00
2023-09-21 14:43:08 +02:00
2022-05-03 13:34:51 +01:00
2024-07-11 08:29:43 +10:00
2024-07-31 14:44:51 +10:00
2024-04-09 13:43:26 +02:00
2023-10-26 15:45:41 +01:00
2023-12-19 18:34:34 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-07-22 06:55:35 -04:00
2024-04-24 12:03:30 +10:00
2022-05-03 13:34:51 +01:00
2024-07-12 11:23:56 +01:00
2022-05-03 13:34:51 +01:00
2024-08-07 19:25:10 +02:00
2023-09-07 09:59:15 +01:00
2023-10-18 18:07:13 +02:00
2023-12-29 10:21:10 +01:00
2022-10-05 14:02:03 +02:00
2024-04-09 13:43:26 +02:00
2023-06-02 15:13:20 +10:00
2024-05-30 18:38:12 +02:00
2022-10-05 14:02:03 +02:00
2024-09-02 16:12:48 +02:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2023-12-27 09:32:48 +01:00
2024-07-11 08:29:43 +10:00
2021-06-24 14:48:15 +01:00
2021-06-24 14:48:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-01-13 13:20:16 +00:00
2024-04-09 13:43:26 +02:00
2024-05-10 17:02:49 +02:00
2023-10-26 15:55:49 +01:00
2024-05-14 15:24:26 +02:00
2024-08-29 19:26:06 +02:00
2023-09-07 09:59:15 +01:00
2024-08-29 19:26:06 +02:00
2024-07-22 06:55:35 -04:00
2024-05-22 09:59:32 +02:00
2021-07-15 09:33:04 +02:00
2024-04-04 08:34:17 +02:00
2022-11-14 07:47:53 +00:00
2024-07-01 10:02:02 +02:00
2024-07-31 08:05:53 -04:00
2024-09-02 10:24:58 +02:00
2023-09-07 09:59:15 +01:00
2023-09-11 10:15:30 +02:00
2023-09-07 09:59:15 +01:00