🔍 CVE-2026-100369

8.4
CVSS Score
HIGH
2026-09-25
2026-09-30 19:57
✅ 완료

🇰🇷 한글 설명

CliInvoke 및 AlastairLundy.CliInvoke 라이브러리에서 인자 주입(Argument Injection) 취약점이 발견되었습니다. 공격자가 제어하는 대상이나 인자에 큰따옴표를 삽입하여 운영체제 수준의 인자 벡터를 조작할 수 있으며, 쉘 러너 사용 시 임의의 명령어를 실행할 수 있습니다.

💡 쉬운 설명

프로그램을 실행할 때 입력값에 특수문자를 넣어 원래 의도와 다른 명령어를 몰래 실행할 수 있는 보안 약점입니다. 공격자가 이 취약점을 이용하면 해커가 원하는 악성 명령을 컴퓨터에서 직접 실행하게 만들 수 있습니다.

🇺🇸 원문 (English)

CliInvoke and its formerly named `AlastairLundy.CliInvoke` package are .NET libraries for invoking command-line programs and wrapping executable processes. `CliInvoke` versions 2.0.0 through 2.8.4, 2.9.0 through 2.9.3, 2.10.0 through 2.10.4, and 3.0.0-alpha.1 through 3.0.0-beta.1, as well as `AlastairLundy.CliInvoke` versions 2.0.0-alpha.1 through 2.0.0, contain an argument-injection vulnerability in `RunnerProcessFactory` on the 2.x line and `RunnerConfigurationFactory` on the 3.x line. These factories combine runner arguments, a caller-controlled target, and caller-controlled arguments into one `ProcessStartInfo.Arguments` string, allowing a double quote in the target or an argument to terminate an operating-system-level quoted region and inject unintended elements into the runner’s argument vector, potentially resulting in arbitrary command execution when a shell runner is used. The vulnerability is patched in `CliInvoke` versions 2.8.5, 2.9.4, 2.10.5, and 3.0.0-beta.2, and in `AlastairLundy.CliInvoke` version 2.0.2. No complete workaround is available; users unable to upgrade can partially mitigate the issue by removing double quotes from targets and arguments, additionally removing shell metacharacters when using shell runners, or bypassing the vulnerable factory and constructing a `ProcessConfiguration` with an explicit `ArgumentList`.

📍 영향받는 시스템

CliInvoke (2.0.0-2.8.4, 2.9.0-2.9.3, 2.10.0-2.10.4, 3.0.0-alpha.1-3.0.0-beta.1) 및 AlastairLundy.CliInvoke (2.0.0-alpha.1-2.0.0)

⚔️ 공격 벡터

대상(target) 또는 인자(argument)에 큰따옴표(")를 삽입하여 인자 문자열을 조작하고 임의의 명령어를 주입함

🛡️ 대응 방법

CliInvoke 2.8.5, 2.9.4, 2.10.5, 3.0.0-beta.2 또는 AlastairLundy.CliInvoke 2.0.2 이상 버전으로 업데이트

🔧 검증 코드

출력된 패키지 목록에서 취약한 버전 범위에 해당하는 버전이 포함되어 있는지 확인합니다.

Shell / Script
dotnet list package | grep -E 'CliInvoke|AlastairLundy.CliInvoke'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

.NET