CVE-2021-21315 Command Injection Vulnerability
명령 주입 취약점
설명
The System Information Library for Node.JS (npm package "systeminformation") is an open source collection of functions to retrieve detailed hardware, system and OS information. In systeminformation before version 5.3.1 there is a command injection vulnerability. Problem was fixed in version 5.3.1. As a workaround instead of upgrading, be sure to check or sanitize service parameters that are passed to si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad() ... do only allow strings, reject any arrays. String sanitation works as expected.
Node.JS (npm package "systeminformation")에 대한 시스템 정보 라이브러리는 상세한 하드웨어, 시스템 및 OS 정보를 검색하는 기능의 오픈 소스 컬렉션입니다. 버전 5.3.1 이전 시스템에서는 명령 주입 취약점이 있습니다. 문제는 버전 5.3.1에서 해결 되었습니다. 업그레이드 대신 해결 방법으로 si.inetLatency(), si.inetChecksite(), si.services(), si.processLoad()에 전달되는 서비스 매개 변수를 확인하거나 위생 처리하십시오. ... 문자열만 허용하고 모든 배열을 거부하십시오. 위생용품은 예상대로 잘 작동합니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
sebhildebrandt
systeminformation
영향 받는 버전
- 5.3.1 미만
해결 버전
- 5.3.1 이상
참고 자료 5건
- github.com https://github.com/sebhildebrandt/systeminformation/commit/07daa05fb06f24f96297abaa30c2ace8bfd8b525 (새 창)
- github.com https://github.com/sebhildebrandt/systeminformation/security/advisories/GHSA-2m8v-572m-ff2v (새 창)
- lists.apache.org https://lists.apache.org/thread.html/r8afea9a83ed568f2647cccc6d8d06126f9815715ddf9a4d479b26b05%40%3Cissues.cordova.apache.org%3E (새 창)
- security.netapp.com https://security.netapp.com/advisory/ntap-20210312-0007/ (새 창)
- npmjs.com https://www.npmjs.com/package/systeminformation (새 창)