CVE-2017-18588: Security framework Improper Certificate Validation Vulnerability
MODERATECVE-2017-18588 is a MODERATE (CVSS 5.3) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Security framework libraries in the crates.io ecosystem. The issue involves improper certificate validation in security-framework. Remediation is available by upgrading affected packages to version 0.1.12.
CVE-2017-18588 at a Glance
Security Impact
CVSS: 5.3
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:N/S:U/C:N/I:L/A:N).
How to Fix CVE-2017-18588
To remediate this vulnerability, upgrade all affected Security framework 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 security-framework to 0.1.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for security-framework
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-18588, inspect your project dependencies for Security framework:
inspect dependencies for security-framework
Analyze the terminal output to locate any version of Security framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.12), 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-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Security framework, 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-2017-18588 Affected Security framework Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
security-framework
|
crates.io |
< 0.1.12
|
0.1.12
|
References
Frequently Asked Questions
What is CVE-2017-18588?
Which Security framework versions are affected?
What version fixes CVE-2017-18588?
Is security-framework affected?
What is the CVSS score of CVE-2017-18588?
What CWE is associated with CVE-2017-18588?
How can I check crates.io dependencies for CVE-2017-18588?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jqqr-c2r2-9cvr",
"modified" : "2023-06-13T20:37:16Z",
"published" : "2021-08-25T20:42:59Z",
"aliases" : [ "CVE-2017-18588" ],
"summary" : "Improper Certificate Validation in security-framework",
"details" : "If custom root certificates were registered with a ClientBuilder, the hostname of the target server would not be validated against its presented leaf certificate. This issue was fixed by properly configuring the trust evaluation logic to perform that check.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "security-framework"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.1.12"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-18588"
}, {
"type" : "WEB",
"url" : "https://github.com/sfackler/rust-security-framework/pull/27"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sfackler/rust-security-framework"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2017-0003.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-295" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-08-19T21:25:26Z",
"nvd_published_at" : null
}
}