CVE 목록
Medium5.9

CVE-2026-103061

공개
2026년 10월 13일
수정
2026년 11월 20일
조회
0
상태
Deferred
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
5.9Medium

개요

이 취약점이 무엇인지

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in gleam-lang gleam allows a malicious package publisher to delete a directory outside the project's build directory when a developer builds a project.

A Hex package release's metadata carries an app field with the release's OTP application name. Gleam reads this field from the hex.pm release API when it downloads dependencies and uses it as the package's build directory name without validating it (hex_manifest_package in compiler-cli/src/dependencies.rs, ProjectPaths::build_directory_for_package). When a dependency fails to compile, Gleam deletes that directory with remove_dir_all. hex.pm didn't restrict the field to a directory name before 2026-10-12, so a publisher could set it to a value such as ../../../../target or an absolute path. When a project depends on such a release directly or transitively and the release fails to compile, gleam build, gleam check, gleam run, gleam test or gleam export deletes the directory the name resolves to. For a pure Gleam package no publisher code runs.

This issue affects gleam: from 0.32.4 before 1.19.2.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
GleamGleamv0.32.4-elixir≤취약<v1.19.2-elixirv1.19.2-elixir이상
v0.32.4-erlang≤취약<v1.19.2-erlangv1.19.2-erlang이상
v0.32.4-node≤취약<v1.19.2-nodev1.19.2-node이상
v0.32.4-node-slim≤취약<v1.19.2-node-slimv1.19.2-node-slim이상
v0.32.4-elixir-slim≤취약<v1.19.2-elixir-slimv1.19.2-elixir-slim이상
v0.32.4-erlang-slim≤취약<v1.19.2-erlang-slimv1.19.2-erlang-slim이상
v0.32.4-erlang-alpine≤취약<v1.19.2-erlang-alpinev1.19.2-erlang-alpine이상
v0.32.4-elixir-alpine≤취약<v1.19.2-elixir-alpinev1.19.2-elixir-alpine이상
v0.32.4-node-alpine≤취약<v1.19.2-node-alpinev1.19.2-node-alpine이상
v0.32.4-scratch≤취약<v1.19.2-scratchv1.19.2-scratch이상
0.32.4≤취약<1.19.21.19.2이상

할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.