🔍 CVE-2026-103600

0.0
CVSS Score
UNKNOWN
2026-10-02
2026-10-02 18:17
✅ 완료

🇰🇷 한글 설명

Legion of the Bouncy Castle Inc.의 bc-csharp 2.7.0 미만 버전에서 ASN.1 파서의 제어되지 않은 재귀 호출로 인해 발생하는 취약점입니다. 공격자가 깊게 중첩된 ASN.1 인코딩을 전송하면 스택 오버플로가 발생하여 서비스 거부(DoS) 상태가 될 수 있습니다. X.509 인증서, TLS 인증서 메시지 등 신뢰할 수 없는 ASN.1 데이터를 처리하는 모든 경로가 노출됩니다.

💡 쉬운 설명

데이터 구조를 해석하는 과정에서 너무 깊게 겹쳐진 데이터를 보내 프로그램이 감당하지 못하게 만드는 공격입니다. 이로 인해 프로그램이 갑자기 종료되어 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

Uncontrolled recursion in the ASN.1 parser (Asn1InputStream, Asn1StreamParser) in Legion of the Bouncy Castle Inc. bc-csharp before 2.7.0 allows a remote unauthenticated attacker to cause a denial of service via a crafted ASN.1 encoding of deeply nested constructed elements (for example SEQUENCE inside SEQUENCE, in definite-length DER or indefinite-length BER form), because each nesting level is parsed by a further recursive call with no bound on depth. About 2,000 levels (8 KB of DER) are enough to exhaust a 1.5 MB thread stack, the .NET main-thread default on Windows, and raise a StackOverflowException, which .NET cannot catch and which terminates the whole process; on threads with larger stacks, parse time instead grows quadratically with depth (about 9 seconds of CPU for a 64 KB input). Any path that parses untrusted ASN.1 is exposed, including X.509 certificates and CRLs, CMS/PKCS#7, PKCS#8/PKCS#12, OCSP and TLS Certificate messages.

📍 영향받는 시스템

Legion of the Bouncy Castle Inc. bc-csharp version < 2.7.0

⚔️ 공격 벡터

조작된 ASN.1 인코딩(깊게 중첩된 SEQUENCE 등)을 포함한 데이터를 전송하여 원격에서 공격

🛡️ 대응 방법

bc-csharp 라이브러리를 2.7.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 bc-csharp의 버전이 2.7.0 미만인지 확인하십시오.

Shell / Script
dotnet list package | grep bc-csharp

💻 영향받는 소프트웨어

.NET