🇰🇷 한글 설명
n158 패키지의 모든 버전에서 'module.exports' 함수의 부적절한 입력값 검증으로 인해 커맨드 인젝션 취약점이 발생합니다. 공격자가 Node.js 코드를 실행할 수 있는 환경이라면 시스템 명령어를 임의로 실행할 수 있습니다.
💡 쉬운 설명
프로그램이 사용자가 입력한 명령어를 제대로 검사하지 않아, 해커가 몰래 악성 명령어를 끼워 넣어 실행할 수 있는 문제입니다. 이를 통해 해커가 컴퓨터를 마음대로 조종할 위험이 있습니다.
🇺🇸 원문 (English)
All versions of the package n158 are vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function.
**Note:**
To execute the code snippet and potentially exploit the vulnerability, the attacker needs to have the ability to run Node.js code within the target environment. This typically requires some level of access to the system or application hosting the Node.js environment.
📍 영향받는 시스템
n158 패키지의 모든 버전
⚔️ 공격 벡터
Node.js 환경에서 실행 가능한 코드를 통해 악성 명령어를 주입하여 실행
🛡️ 대응 방법
해당 패키지를 최신 보안 패치가 적용된 버전으로 업데이트하거나 입력값 검증 로직을 강화해야 합니다.
🔧 검증 코드
명령어 결과에 n158 패키지가 표시되면 해당 패키지의 설치 여부와 버전을 확인하십시오.