Уязвимость в обработке Relative Distinguished Names в Node.js, позволяющая обход проверки сертификатов
Описание
В версиях Node.js до 12.22.9, 14.18.3, 16.13.2 и 17.3.1 обнаружена уязвимость, связанная с некорректной обработкой Relative Distinguished Names (RDN). Злоумышленники могли создать сертификат с однозначным RDN, который интерпретировался бы как многозначный RDN. Это позволяло, например, внедрить Common Name (CN), чтобы обойти проверку субъекта сертификата.
Исправленные версии Node.js не принимают многозначные RDN и, таким образом, не подвержены этой атаке. Однако сторонний код, использующий неоднозначное представление сертификатов в Node.js, может оставаться уязвимым.
Затронутые версии ПО
- Node.js < 12.22.9
- Node.js < 14.18.3
- Node.js < 16.13.2
- Node.js < 17.3.1
Тип уязвимости
Обход проверки
Ссылки
- ExploitMitigationThird Party Advisory
- Release NotesVendor Advisory
- Third Party Advisory
- Third Party Advisory
- PatchThird Party Advisory
- Third Party Advisory
- ExploitMitigationThird Party Advisory
- Release NotesVendor Advisory
- Third Party Advisory
- Third Party Advisory
- PatchThird Party Advisory
- Third Party Advisory
Уязвимые конфигурации
Одно из
Одно из
EPSS
5.3 Medium
CVSS3
5 Medium
CVSS2
Дефекты
Связанные уязвимости
Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subjects containing a single-value Relative Distinguished Name that would be interpreted as a multi-value Relative Distinguished Name, for example, in order to inject a Common Name that would allow bypassing the certificate subject verification.Affected versions of Node.js that do not accept multi-value Relative Distinguished Names and are thus not vulnerable to such attacks themselves. However, third-party code that uses node's ambiguous presentation of certificate subjects may be vulnerable.
Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subjects containing a single-value Relative Distinguished Name that would be interpreted as a multi-value Relative Distinguished Name, for example, in order to inject a Common Name that would allow bypassing the certificate subject verification.Affected versions of Node.js that do not accept multi-value Relative Distinguished Names and are thus not vulnerable to such attacks themselves. However, third-party code that uses node's ambiguous presentation of certificate subjects may be vulnerable.
Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 did not handle m ...
Уязвимость компонента Relative Distinguished Name (RDN) программной платформы Node.js, позволяющая нарушителю проводить спуфинг-атаки
EPSS
5.3 Medium
CVSS3
5 Medium
CVSS2