🇰🇷 한글 설명
n8n 워크플로 자동화 플랫폼의 버퍼 할당 취약점으로 인해 초기화되지 않은 메모리 할당이 가능해져, 이전 요청, 작업, 비밀번호, 토큰 등과 같은 데이터가 노출될 수 있는 취약점
💡 쉬운 설명
n8n 플랫폼의 버그로 인해 중요한 데이터가 노출될 수 있습니다. 이는 버퍼 할당 시 초기화되지 않은 메모리가 할당되어, 이전 데이터가 남아있을 수 있습니다. 버전 1.114.3 이전의 n8n 플랫폼에서 발생합니다.
🇺🇸 원문 (English)
n8n is an open source workflow automation platform. From version 1.65.0 to before 1.114.3, the use of Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() in the task runner allowed untrusted code to allocate uninitialized memory. Such uninitialized buffers could contain residual data from within the same Node.js process (for example, data from prior requests, tasks, secrets, or tokens), resulting in potential information disclosure. This issue has been patched in version 1.114.3.
📍 영향받는 시스템
n8n 워크플로 자동화 플랫폼 버전 1.65.0 ~ 1.114.3
⚔️ 공격 벡터
공격자가 n8n 플랫폼의 취약점을 이용하여 초기화되지 않은 메모리 버퍼에 접근
🛡️ 대응 방법
n8n 플랫폼을 버전 1.114.3 이상으로 업데이트합니다.
🔧 검증 코드
로컬 시스템에서 Python이 설치되어 있는지 확인하고, n8n 패키지의 버전을 확인하여 취약점 여부를 점검합니다. Python이 설치되어 있지 않다면, 별도로 설치해야 합니다.
python -c "import pkg_resources; print('n8n' in [d.project_name for d in pkg_resources.working_set] and pkg_resources.get_distribution('n8n').version < '1.114.3')" && echo {"result": "취약", "reason": "n8n 버전이 1.114.3 미만"} || echo {"result": "양호", "reason": "n8n 버전이 1.114.3 이상"}