🔍 CVE-2026-34773

4.7
CVSS Score
MEDIUM
2026-04-04
2026-07-24 22:10
✅ 완료

🇰🇷 한글 설명

Electron 프레임워크의 Windows 버전에서 app.setAsDefaultProtocolClient() 함수가 프로토콜 이름을 검증하지 않아 발생하는 취약점입니다. 신뢰할 수 없는 입력값이 프로토콜 이름으로 전달될 경우, 공격자가 레지스트리의 HKCU\Software\Classes\ 하위에 임의의 서브키를 작성하여 기존 프로토콜 핸들러를 가로챌 수 있습니다.

💡 쉬운 설명

프로그램이 특정 명령어를 실행할 때 사용하는 이름을 제대로 확인하지 않아 발생하는 문제입니다. 공격자가 이 이름을 조작하면 컴퓨터의 설정(레지스트리)을 마음대로 바꿔서 악성 프로그램을 실행하게 만들 수 있습니다.

🇺🇸 원문 (English)

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, on Windows, app.setAsDefaultProtocolClient(protocol) did not validate the protocol name before writing to the registry. Apps that pass untrusted input as the protocol name may allow an attacker to write to arbitrary subkeys under HKCU\Software\Classes\, potentially hijacking existing protocol handlers. Apps are only affected if they call app.setAsDefaultProtocolClient() with a protocol name derived from external or untrusted input. Apps that use a hardcoded protocol name are not affected. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

📍 영향받는 시스템

Electron versions prior to 38.8.6, 39.8.1, 40.8.1, and 41.0.0 on Windows

⚔️ 공격 벡터

신뢰할 수 없는 외부 입력값을 프로토콜 이름으로 전달하여 레지스트리 임의 쓰기 유도

🛡️ 대응 방법

Electron 버전을 38.8.6, 39.8.1, 40.8.1 또는 41.0.0 이상으로 업데이트

🔧 검증 코드

출력된 Electron의 버전을 확인하여 취약한 버전 범위에 포함되는지 체크

Shell / Script
npm list electron

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

💻 영향받는 소프트웨어

Storage Protect Snapshot for Windows