Kestrel
대시보드로 돌아가기
CVE-2026-59247HIGH· 7.6MITRENVD대응게시일: 2026. 07. 29.수정일: 2026. 07. 30.

Insufficient verification of Hex package metadata in Gleam

위협 신호 · CVSS · EPSS · KEV

정기 패치· 높은 악용 신호 없음
CVSS
7.6high

이론적 심각도 점수

EPSS

예측 데이터 없음

KEV
미등재

실측 악용 기록 없음

권장 대응 기한60일 이내CISA SSVC 기준

계획된 패치 주기 내 조치(60일 이내)

외부 노출· KEV 미등재 · 자동화 어려움 · 부분 영향 · 외부 노출

CVSS 벡터 · 메트릭

악용 경로
공격 벡터네트워크
공격 복잡도낮음
공격 요건있음
필요 권한불필요
사용자 상호작용수동적
영향
기밀성 영향높음
무결성 영향높음
가용성 영향없음
후속 기밀성없음
후속 무결성없음
후속 가용성없음
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

상세 설명

Insufficient Verification of Data Authenticity vulnerability in Gleam allows an adversary in the middle to substitute forged Hex package contents during dependency resolution.

During dependency resolution Gleam fetches package metadata from the signature-verified Hex repository, which covers each release's dependency requirements and SHA-256 outer_checksum. After resolving versions, gleam_cli::dependencies::lookup_package makes a second request to the unsigned Hex API through gleam_core::hex::get_package_release and records the outer_checksum and dependency names from that JSON response into manifest.toml, instead of the values from the verified repository metadata. The Hex repository signature does not cover the API response.

An adversary in the middle who can intercept TLS with a certificate trusted by the Gleam process (for example a TLS-inspecting proxy using a CA in the operating system trust store or added through GLEAM_CACERTS_PATH), and who can modify both the API release response and the corresponding repository tarball, can supply a package archive with a matching forged checksum without the Hex repository signing key. Gleam verifies the forged tarball against the forged checksum, accepts it, and extracts it as a dependency source, resulting in loss of integrity of the downloaded package contents.

Only projects that resolve or update Hex dependencies are affected, which happens when the manifest is missing, a dependency is added or updated, or dependency requirements change. Builds that reuse an unchanged, known-good manifest.toml continue to verify tarballs against its pinned checksum. This issue affects gleam: from 0.18.0 before 1.18.0.

AI 심층 분석

공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.

영향받는 제품·버전

  • gleam-lang gleam0.18.0 ≤ x < 1.18.0
    other
  • gleam-lang gleam0.18.0 ≤ x < 1.18.0, 8447b78cc844ff4aec44eea23dbd68d1fea11f11 ≤ x < c9c0d48c123c8abae6db8dd61b25ccb427ed3d35
    other
  • gleam-lang gleamv0.18.0-elixir ≤ x < v1.18.0-elixir, v0.18.0-elixir-slim ≤ x < v1.18.0-elixir-slim, v0.18.0-elixir-alpine ≤ x < v1.18.0-elixir-a
    other