🇰🇷 한글 설명
Electron Packager가 Electron 기반 애플리케이션을 패키징할 때 Node.js 힙 메모리의 약 1-10kb 분량의 임의 데이터가 최종 실행 파일에 유출되는 취약점입니다. 유출된 메모리에는 환경 변수나 비밀 파일과 같은 민감한 정보가 포함될 수 있습니다.
💡 쉬운 설명
프로그램을 배포용 파일로 만드는 과정에서 컴퓨터 메모리에 남아있던 중요한 정보가 실수로 파일 안에 포함될 수 있는 문제입니다. 이로 인해 비밀번호나 중요한 설정값이 외부로 노출될 위험이 있습니다.
🇺🇸 원문 (English)
Electron Packager bundles Electron-based application source code with a renamed Electron executable and supporting files into folders ready for distribution. A random segment of ~1-10kb of Node.js heap memory allocated either side of a known buffer will be leaked into the final executable. This memory _could_ contain sensitive information such as environment variables, secrets files, etc. This issue is patched in 18.3.1.
📍 영향받는 시스템
Electron Packager (18.3.1 미만 버전)
⚔️ 공격 벡터
패키징된 실행 파일을 분석하여 메모리에서 유출된 민감 정보를 추출
🛡️ 대응 방법
Electron Packager를 18.3.1 버전 이상으로 업데이트
🔧 검증 코드
출력된 버전이 18.3.1 미만인지 확인하여 취약 여부를 판단합니다.
npm list electron-packager