🔍 CVE-2022-30284

9.0
CVSS Score
CRITICAL
2022-05-04
2026-06-17 04:43
✅ 완료

🇰🇷 한글 설명

python-libnmap 0.7.2 이하 버전에서 원격 명령 실행(RCE) 취약점이 발견되었습니다. 사용자 입력을 검증하지 않는 클라이언트 애플리케이션에서 해당 패키지를 사용할 경우 공격자가 임의의 명령을 실행할 수 있습니다.

💡 쉬운 설명

프로그램이 외부에서 들어온 명령어를 제대로 확인하지 않고 실행할 때 발생하는 문제입니다. 해커가 이 틈을 타서 컴퓨터에 몰래 명령을 내려 제어권을 뺏을 수 있습니다.

🇺🇸 원문 (English)

In the python-libnmap package through 0.7.2 for Python, remote command execution can occur (if used in a client application that does not validate arguments). NOTE: the vendor believes it would be unrealistic for an application to call NmapProcess with arguments taken from input data that arrived over an untrusted network, and thus the CVSS score corresponds to an unrealistic use case. None of the NmapProcess documentation implies that this is an expected use case

📍 영향받는 시스템

python-libnmap 0.7.2 및 그 이전 버전

⚔️ 공격 벡터

검증되지 않은 사용자 입력값이 NmapProcess 함수에 전달되어 명령어가 실행되는 방식

🛡️ 대응 방법

python-libnmap를 최신 버전으로 업데이트하고, 외부 입력값에 대한 엄격한 검증 로직을 구현하십시오.

🔧 검증 코드

출력된 버전 번호가 0.7.2 이하인지 확인하십시오.

Shell / Script
pip show python-libnmap 2>/dev/null | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python