kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-3450 CA certificate check bypass with X509_V_FLAG_X509_STRICT

X509_V_FLAG_X509_STRICT를 가진 캘리포니아 증명서 체크 우회

설명

The X509_V_FLAG_X509_STRICT flag enables additional security checks of the certificates present in a certificate chain. It is not set by default. Starting from OpenSSL version 1.1.1h a check to disallow certificates in the chain that have explicitly encoded elliptic curve parameters was added as an additional strict check. An error in the implementation of this check meant that the result of a previous check to confirm that certificates in the chain are valid CA certificates was overwritten. This effectively bypasses the check that non-CA certificates must not be able to issue other certificates. If a "purpose" has been configured then there is a subsequent opportunity for checks that the certificate is a valid CA. All of the named "purpose" values implemented in libcrypto perform this check. Therefore, where a purpose is set the certificate chain will still be rejected even when the strict flag has been used. A purpose is set by default in libssl client and server certificate verification routines, but it can be overridden or removed by an application. In order to be affected, an application must explicitly set the X509_V_FLAG_X509_STRICT verification flag and either not set a purpose for the certificate verification or, in the case of TLS client or server applications, override the default purpose. OpenSSL versions 1.1.1h and newer are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1k. OpenSSL 1.0.2 is not impacted by this issue. Fixed in OpenSSL 1.1.1k (Affected 1.1.1h-1.1.1j).

X509_V_FLAG_X509_STRICT 플래그는 인증서 체인에 존재하는 인증서의 추가 보안 검사를 가능하게 합니다. 기본값으로 설정되지 않았습니다. OpenSSL 버전 1.1.1h부터 타원 곡선 파라미터를 명시적으로 인코딩한 체인의 인증서를 허용하지 않도록 검사하는 추가 엄격한 검사로 추가되었습니다. 이 검사의 구현에서 오류가 발생하면 체인의 인증서가 유효한 CA 인증서인지 확인하는 이전 검사의 결과가 덮어써졌습니다. 이는 비 CA 인증서가 다른 인증서를 발급할 수 없어야 한다는 확인을 효과적으로 우회합니다. "목적"이 구성되면 인증서가 유효한 CA인지 확인할 수 있는 후속 기회가 있습니다. libcrypto에서 구현 된 모든 "목적"값이이 검사를 수행합니다. 따라서, 목적이 설정된 경우, 엄격한 플래그가 사용된 경우에도 인증서 체인은 여전히 거부됩니다. libssl 클라이언트와 서버 인증서 검증 루틴에서 기본적으로 목적이 설정되지만, 애플리케이션에 의해 재정의되거나 제거될 수 있습니다. 영향을 받으려면 애플리케이션이 X509_V_FLAG_X509_STRICT 검증 플래그를 명시적으로 설정해야 하며 인증서 검증 목적을 설정하지 않았거나 TLS 클라이언트 또는 서버 애플리케이션의 경우 기본 목적을 재정의해야 합니다. OpenSSL 버전 1.1.1h 이상도 이 문제의 영향을 받습니다. 이 버전의 사용자는 OpenSSL 1.1.1k로 업그레이드해야 합니다. OpenSSL 1.0.2는 이 문제의 영향을 받지 않습니다. OpenSSL 1.1.1k에서 수정 (유효한 1.1.1h-1.1.1j).

영향 받는 제품 제품 4개

  • OpenSSL

    OpenSSL

    영향 받는 버전

    • 버전 정보 확인 필요

    해결 버전

    해결된 버전 정보가 없습니다.

  • nodejs

    node.js

    NVD 기준 해결 버전 있음

    영향 받는 버전

    • 10.0.0 이상 10.24.1 미만
    • 12.0.0 이상 12.22.1 미만
    • 14.0.0 이상 14.16.1 미만
    • 15.0.0 이상 15.14.0 미만

    해결 버전

    • 10.24.1 이상
    • 12.22.1 이상
    • 14.16.1 이상
    • 15.14.0 이상
  • openssl

    openssl

    NVD 기준 해결 버전 있음

    영향 받는 버전

    • 1.1.1h 이상 1.1.1k 미만

    해결 버전

    • 1.1.1k 이상
  • oracle

    jd edwards enterpriseone tools

    NVD 기준 해결 버전 있음

    영향 받는 버전

    • 9.2.6.0 미만

    해결 버전

    • 9.2.6.0 이상

참고 자료 24건

‹ 목록

점검 지원 범위 문의

도입 문의