🔍 CVE-2020-5219

8.7
CVSS Score
HIGH
2020-01-24
2026-06-17 03:21
✅ 완료

🇰🇷 한글 설명

Angular Expressions 1.0.1 미만 버전에서 사용자 입력값을 expressions.compile() 함수에 전달할 경우 원격 코드 실행(RCE) 취약점이 발생합니다. 브라우저 환경에서는 임의의 자바스크립트 실행이 가능하며, 서버 환경에서는 서버 측 원격 코드 실행으로 이어질 수 있습니다.

💡 쉬운 설명

사용자가 입력한 글자를 프로그램이 검증 없이 코드로 실행해버리는 보안 구멍입니다. 해커가 이 구멍을 통해 웹사이트를 조종하거나 서버를 장악할 수 있습니다.

🇺🇸 원문 (English)

Angular Expressions before version 1.0.1 has a remote code execution vulnerability if you call expressions.compile(userControlledInput) where userControlledInput is text that comes from user input. If running angular-expressions in the browser, an attacker could run any browser script when the application code calls expressions.compile(userControlledInput). If running angular-expressions on the server, an attacker could run any Javascript expression, thus gaining Remote Code Execution.

📍 영향받는 시스템

Angular Expressions version < 1.0.1

⚔️ 공격 벡터

사용자로부터 입력받은 제어 가능한 텍스트를 expressions.compile() 함수에 직접 전달하여 악성 스크립트 실행

🛡️ 대응 방법

Angular Expressions 라이브러리를 1.0.1 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.0.1 미만(예: 0.x.x)이면 취약한 상태입니다.

Shell / Script
npm list angular-expressions | grep -E 'angular-expressions@([0-9]{1,2}\.[0-9]\.[0-9])'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM WebSphere Application Server