Установленная ассоциация DTLS 1.2 с использованием набора шифров AEAD может быть прекращена одной неаутентифицированной дейтаграммой, зашифрованный фрагмент которой короче, чем обязательный явный IV и тег проверки подлинности. Краткое описание воздействия: злоумышленник, который может отправить дейтаграмму, которая маршрутизируется в существующую ассоциацию DTLS 1.2, может разорвать эту ассоциацию, не зная какого-либо ключевого материала. Это отказ в обслуживании, ограниченный целевой ассоциацией.
Там нет безопасности памяти или конфиденциальности воздействия. CWE: CWE-1284: Неправильная валидация Specified Quantity в Input Description: In TLS 1.2 и DTLS 1.2 Каждая запись, защищенная набором шифров AEAD, содержит явный IV с последующим шифротекстом и тегом аутентификации. При расшифровке такой записи слой записи передавал длину записи реализации шифра, прежде чем проверить, что запись была достаточно длинной, чтобы содержать явный IV и тег.
Для записи, короче, чем накладные расходы, реализация шифра отклонила невозможную длину, и слой записи расценил это как внутренний сбой и поднял фатальное оповещение internal_error вместо того, чтобы рассматривать запись как ту, которая не прошла аутентификацию. В TLS 1.2 та же запись вызывает фатальное предупреждение internal_error вместо ожидаемого предупреждения bad_record_mac. Поскольку любая нерасшифровываемая запись уже прекращает соединение TLS, это проблема соответствия протокола, а не проблема безопасности в TLS.
Исправление проверяет длину записи по сравнению с явным IV и длиной тега перед любой обработкой AEAD, так что TLS сообщает о bad_record_mac, а DTLS молча отбрасывает запись. Воздействие FIPS: нет Затронутый код находится за пределами границы модуля FIPS.
Показать оригинальное описание (EN)
Issue summary: An established DTLS 1.2 association using an AEAD cipher suite can be terminated by a single unauthenticated datagram whose encrypted fragment is shorter than the mandatory explicit IV and authentication tag overhead. Impact summary: An attacker who can send a datagram that is routed to an existing DTLS 1.2 association can tear that association down without knowing any key material. This is a Denial of Service limited to the targeted association. There is no memory safety or confidentiality impact. CWE: CWE-1284: Improper Validation of Specified Quantity in Input Description: In TLS 1.2 and DTLS 1.2 every record protected by an AEAD cipher suite carries an explicit IV followed by the ciphertext and an authentication tag. When decrypting such a record the record layer passed the record length to the cipher implementation before checking that the record was long enough to contain the explicit IV and the tag. For a record shorter than that overhead the cipher implementation rejected the impossible length, and the record layer treated this as an internal failure and raised a fatal internal_error alert instead of treating the record as one that failed authentication. In TLS 1.2 the same record causes a fatal internal_error alert instead of the expected bad_record_mac alert. Since any undecryptable record already terminates a TLS connection, this is a protocol conformance issue rather than a security issue in TLS. The fix validates the record length against the explicit IV and tag length before any AEAD processing, so that TLS reports bad_record_mac and DTLS silently discards the record. FIPS impact: no The affected code is outside the FIPS module boundary.
Характеристики атаки
Последствия
Строка CVSS v3.1
Тип уязвимости (CWE)
Уязвимые продукты 6
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
1.1.1
|
1.1.1zj
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
3.0.0
|
3.0.23
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
3.4.0
|
3.4.8
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
3.5.0
|
3.5.9
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
3.6.0
|
3.6.5
|
|
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
|
4.0.0
|
4.0.3
|