CVE-2019-1000013: Hex core Hex Authenticity Of Signed Packages Vulnerability
HIGHCVE-2019-1000013 is a HIGH (CVSS 8.8) hex authenticity of signed packages vulnerability (CWE-345: Insufficient Verification of Data Authenticity) affecting Hex core libraries in the Hex ecosystem. The issue involves hex authenticity of signed packages not validated. Remediation is available by upgrading affected packages to version 0.4.0.
CVE-2019-1000013 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-1000013
To remediate this vulnerability, upgrade all affected Hex core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade hex_core to 0.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for hex_core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-1000013, inspect your project dependencies for Hex core:
inspect dependencies for hex_core
Analyze the terminal output to locate any version of Hex core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.4.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-345: Insufficient Verification of Data Authenticity, where the product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data. In Hex core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2019-1000013 Affected Hex core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
hex_core
|
Hex |
< 0.4.0
|
0.4.0
|
References
Frequently Asked Questions
What is CVE-2019-1000013?
Which Hex core versions are affected?
What version fixes CVE-2019-1000013?
Is hex_core affected?
What is the CVSS score of CVE-2019-1000013?
What CWE is associated with CVE-2019-1000013?
How can I check Hex dependencies for CVE-2019-1000013?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q3cc-rr2c-87r6",
"modified" : "2024-05-02T12:18:21Z",
"published" : "2022-05-13T01:07:56Z",
"aliases" : [ "CVE-2019-1000013" ],
"summary" : "Hex authenticity of signed packages not validated",
"details" : "Hex package manager hex_core version 0.3.0 and earlier contains a Signing oracle vulnerability in Package registry verification that can result in Package modifications not detected, allowing code execution. This attack appears to be exploitable via victim fetches packages from malicious/compromised mirror. This vulnerability appears to have been fixed in 0.4.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Hex",
"name" : "hex_core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-1000013"
}, {
"type" : "WEB",
"url" : "https://github.com/hexpm/hex_core/pull/48"
}, {
"type" : "WEB",
"url" : "https://github.com/hexpm/hex_core/pull/51"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/hexpm/hex_core"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-345" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-02T12:18:21Z",
"nvd_published_at" : "2019-02-04T21:29:00Z"
}
}