개요
이 취약점이 무엇인지
An input validation and injection vulnerability exists in Canonical ubuntu-pro-client (formerly ubuntu-advantage-tools). The client constructs APT source files (such as /etc/apt/sources.list.d/ubuntu-.list or their DEB822 equivalents) using data received directly from the contract server response via the directives.suites[] and directives.aptURL fields. Because the client utilizes Python's str.format() to write these files without performing escaping, validation, or newline character filtering, a malicious or tampered contract response containing embedded newline (\n) characters can successfully inject arbitrary, attacker-controlled deb configuration lines into root-owned APT sources. When combined with the unvalidated additionalPackages[] field—which is passed positionally into a root-executed apt-get install command—an attacker capable of spoofing or manipulating the contract response (e.g., via a compromised internal infrastructure, an intercepted connection utilizing a trusted CA, or local logical bugs) can force the client to fetch and install malicious packages. This ultimately leads to arbitrary code execution with root privileges on the affected system. This component is preinstalled on supported Ubuntu Server releases and auto-attaches by default on cloud provider Ubuntu Pro images.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| ubuntu-pro-client (ubuntu-advantage-tools)Canonical | 최초 버전 | ≤ | 취약 | < | 37.3 | 37.3이상 |
| Ubuntu 26.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 37.2ubuntu0.1 | — | |
| Ubuntu 24.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 37.2ubuntu~24.04.1 | — | |
| Ubuntu 22.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 37.2ubuntu~22.04.1 | — | |
| Ubuntu 20.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 37.1ubuntu0~20.04.1 | — | |
| Ubuntu 18.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 37.1ubuntu0~18.04.1 | — | |
| Ubuntu 16.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 37.1ubuntu0~16.04.1 | — | |
| Ubuntu 14.04 LTSCanonical | 이 버전만 | 영향 없음 | = | 19.7ubuntu0.1 | — | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.