Обход схемы подписи Forge при проверке сертификата
Forge
Кратко
Forge (node-forge), реализация Transport Layer Security на JavaScript, подвержена уязвимости. Злоумышленник может добиться принятия сертификата с иной схемой подписи, чем заявленная, что позволяет обойти политики, требующие определённую схему подписи, однако не даёт возможности подделать идентификатор сертификата.
Резюме сгенерировано ИИ по данным источников и переведено автоматически.
Исправление
Исправлено в версиях: 1.4.1
Затронутые версии
| forge | → исправлено в 1.4.1 |
| node-forgenpm | → исправлено в 1.4.1 |
Оригинальное описание (EN)
Оригинальный заголовок: Forge signature scheme bypass in certificate verification
Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used certificate.verify(child), _verifySignature(), lib/x509.js to process the relevant input or security decision. node-forge selected RSA padding and RSASSA-PSS parameters from the issuer certificate rather than the child certificate being verified. A child labeled as RSASSA-PSS could therefore be accepted with a PKCS#1 v1.5 signature when the issuer used PKCS#1 v1.5. The signature still had to be produced with the trusted issuer's private key, so this did not permit certificate identity forgery, but it could bypass policies that require a declared signature scheme. This issue is fixed in version 1.4.1.