Bug 2559037 - CVE-2026-103503 rust-hex: hex: Host impersonation via improper CA certificate store validation [epel-all]
Summary: CVE-2026-103503 rust-hex: hex: Host impersonation via improper CA certificate...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rust-hex
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Rust SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["cb1350b1-5692-4380-916f-3...
Depends On:
Blocks: CVE-FalsePositive-CrossEcosystem CVE-2026-103503
TreeView+ depends on / blocked
 
Reported: 2026-10-22 14:21 UTC by Vipul Nair
Modified: 2026-10-22 17:58 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-22 17:58:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-22 14:21:54 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Improper Certificate Validation vulnerability in hexpm hex allows an attacker who can intercept HTTPS connections, and holds a certificate for a Hex host issued by a CA in Hex's bundled CA store, to impersonate that host to users who set cacerts_path to a CA store that leaves that CA out.

cacerts_path (HEX_CACERTS_PATH) is documented as the path to the CA certificate store, used instead of the CA bundle that ships with Hex. Hex.HTTP.SSL.ssl_opts/1 passes the configured store as the cacerts option, but builds the partial_chain callback from the bundled store whether cacerts_path is set or not. Hex.HTTP.SSL.partial_chain/2 accepts a server chain when any certificate in it has the same public key as a bundled CA certificate, so a chain that leads to a bundled CA passes verification although the configured store doesn't contain that CA. Hostname verification still applies.

This issue affects hex: from 0.20.2 before 2.5.2.

Comment 1 Fabio Valentini 2026-10-22 17:58:14 UTC
This advisory is for an issue in hex (the erlang package manager) while this package is for the hex crate (a Rust implementation of hexadecimal encoding / decoding).


Note You need to log in before you can comment on or make changes to this bug.