🇰🇷 한글 설명
wolfSSL 5.9.2 및 이전 버전의 X.509 인증서 검증 로직에 결함이 있습니다. 이름 제약 조건(NameConstraints)이 설정된 중간 CA와 리프 인증서 사이에 제약 조건이 없는 CA 계층이 존재할 경우, 검증 상태 머신 오류로 인해 제약 조건을 무시하고 잘못된 호스트네임의 인증서를 허용하게 됩니다.
💡 쉬운 설명
인증서가 허용된 범위 내에서만 사용되도록 제한하는 보안 규칙이 중간 단계에서 초기화되어 무력화되는 문제입니다. 이로 인해 공격자가 권한이 없는 도메인에 대해 가짜 인증서를 사용할 수 있게 됩니다.
🇺🇸 원문 (English)
wolfSSL versions 5.9.2 and earlier contain a flaw in the X.509 certificate validation logic where it fails to properly enforce NameConstraints extensions when there is an unconstrained CA tier between a name-constrained intermediate CA and the leaf certificate. wolfSSL incorrectly accepted certificates for hostnames they shouldn't be allowed to cover, due to a chain-walking state-machine bug that resets the validation state when encountering an intermediate without NameConstraints, thereby bypassing cryptographic delegation controls. This defect exists in the default build configuration that makes use of certificates where name constraint extensions are used. Thanks to Jack Lloyd, PathDiff, and Ben Smyth for reporting the issue.
📍 영향받는 시스템
wolfSSL 5.9.2 및 그 이전의 모든 버전
⚔️ 공격 벡터
제약 조건이 없는 중간 CA를 포함한 인증서 체인을 사용하여 검증 로직을 우회하는 방식
🛡️ 대응 방법
wolfSSL을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
설치된 wolfSSL의 버전을 확인하여 5.9.2 이하인지 확인하십시오.
wolfssl_version_check_command_placeholder_or_pkg_check