Выделение ресурсов без ограничений или дросселирования в CMP / CRMF пароля на основе MAC верификатора (PKMacBuilder) в Legion из Bouncy Castle Inc. bc-csharp через 2.7.0. bc-csharp позволяет удаленному неаутентифицированному злоумышленнику вызвать отказ в обслуживании через CPU исчерпание через CMP сообщение или CRMF запрос сертификата, PBMParameter которого объявляет очень большое количество итераций, потому что PKMacBuilder1 принудительно его максимум. С любым другим конструктором, ProtectedPkiMessage.Verify и CertificateRequestMessage.IsValidSigningKeyPop выполнил столько итераций хеша, сколько запрашивал отправитель, примерно до 231, прежде чем MAC мог быть проверен.
Показать оригинальное описание (EN)
Allocation of resources without limits or throttling in the CMP/CRMF password-based MAC verifier (PKMacBuilder) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service through CPU exhaustion via a CMP message or CRMF certificate request whose PBMParameter declares a very large iteration count, because PKMacBuilder enforced its iteration-count ceiling only when the caller had supplied an explicit maximum through the PKMacBuilder(IPKMacPrimitivesProvider, int) constructor. With any other constructor, ProtectedPkiMessage.Verify and CertificateRequestMessage.IsValidSigningKeyPop performed as many hash iterations as the sender requested, up to about 2^31, before the MAC could be checked.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 1
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Bouncycastle Bc-Csharp
cpe:2.3:a:bouncycastle:bc-csharp:*:*:*:*:*:*:*:*
|
— |
2.7.0
|