Sari la conținut
RedCVE

CVE-2026-103502Hexpm Hex Core improper certificate validation

hexpmPublicat:

Scor CVSS

5.9

Mediu

CVSS 4.0 de la 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Probabilitate de exploatare (EPSS)

0.24%

Șansă de 0.24% să fie exploatată în următoarele 30 de zile, peste 15.4% dintre toate CVE-urile.

CISA KEV

Nu este în KEV

CISA nu a raportat până acum exploatări confirmate.

Descrierea oficială

Improper Certificate Validation vulnerability in hexpm hex_core allows an attacker who can intercept HTTPS connections to impersonate hex.pm, repo.hex.pm or any other repository or API server to programs that use hex_core's default HTTP adapter on Erlang/OTP 24, or on OTP 25 when the operating system's CA certificates can't be loaded. hex_core:default_config/0 selects the built-in hex_http_httpc adapter. For an HTTPS request whose adapter config has no ssl option, hex_http_httpc:http_options/2 builds options that verify the server certificate against public_key:cacerts_get/0. When that call raises, the adapter prints a warning and sends the request without ssl options, so httpc uses the defaults of the ssl application, which before OTP 26 don't verify the server certificate. public_key:cacerts_get/0 doesn't exist on OTP 24, so every HTTPS request falls back there, and on OTP 25 it raises when no CA store is found. hex_core versions before 0.11.0 never set ssl options, so they don't verify the server certificate on OTP 25 and earlier whether or not a CA store is found. The fallback was intended and documented, but the documentation didn't make clear that it meant no certificate verification. Since hex_core 0.8.2 the README has warned that the built-in httpc adapter "has insecure default settings" and recommended other HTTP clients, and the adapter prints "using default ssl options which are insecure" on every request that falls back. hex_core 0.11.0 added certificate verification with the changelog entry "Use secure SSL defaults for OTP 25+". Neither the README nor the warning says that the server certificate isn't verified, the README doesn't say which OTP versions the warning applies to, and on OTP 25 without CA certificates the warning tells users to upgrade to OTP 25 or later, which they already run. This advisory is published so that users who took those notices as general advice know their HTTPS requests weren't authenticated. This issue affects hex_core: from 0.1.0 before 0.20.0.

Sursa: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Cum îl remediezi, pas cu pas

  1. Verifică dacă ești afectat

    Identifică toate sistemele care rulează hexpm Hex Core și compară versiunea lor cu versiunile afectate.

  2. Actualizează la o versiune remediată

    • Actualizează Hex Core la 0.20.0 sau mai nou.
  3. Confirmă remedierea

    Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.

Ți-a fost util?

Cum poate fi exploatată

Vector de atac
Rețea
Complexitatea atacului
Scăzut
Condiții de atac
Prezente
Privilegii necesare
Niciunul
Interacțiune cu utilizatorul
Activă
Confidențialitate
Ridicat
Integritate
Scăzut
Disponibilitate
Niciunul

Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Produse afectate

Produse afectateVersiuni
hexpm Hex Core≥ 0.1.0, < 0.20.0 · ≥ fbb6d9de472e5edb8d6fb6b32a91cb266137892e, < b7b3a42defb4ed8e20a5c68a4412ce68a95b7938

Tip de slăbiciune

Cronologie

  1. Publicat:
  2. Ultima modificare:

Întrebări frecvente

Este CVE-2026-103502 exploatată?

Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.2% de exploatare în următoarele 30 de zile.

Care este scorul CVSS pentru CVE-2026-103502?

CVE-2026-103502 are un scor de bază CVSS 4.0 de 5.9 (mediu).

Ce versiuni sunt afectate?

Hexpm Hex Core (≥ 0.1.0, < 0.20.0; ≥ fbb6d9de472e5edb8d6fb6b32a91cb266137892e, < b7b3a42defb4ed8e20a5c68a4412ce68a95b7938)

Există patch pentru CVE-2026-103502?

Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.

Referințe

Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.