GHSA-9qwg-crg9-m2vc: Openssl :other` Allow Arbitrary File Read Vulnerability
HIGHGHSA-9qwg-crg9-m2vc is a HIGH :other` allow arbitrary file read vulnerability (General Security Weakness) affecting Openssl libraries in the crates.io ecosystem. The issue involves :other` allow arbitrary file read. Remediation is available by upgrading affected packages to version 0.10.48.
GHSA-9qwg-crg9-m2vc at a Glance
How to Fix GHSA-9qwg-crg9-m2vc
To remediate this vulnerability, upgrade all affected Openssl 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 openssl to 0.10.48
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for openssl
How to Check if You Are Affected
To determine whether your application is affected by GHSA-9qwg-crg9-m2vc, inspect your project dependencies for Openssl:
inspect dependencies for openssl
Analyze the terminal output to locate any version of Openssl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.48), 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 General Security Weakness. In Openssl, 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
GHSA-9qwg-crg9-m2vc Affected Openssl Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openssl
|
crates.io |
≥ 0.9.7
< 0.10.48
|
0.10.48
|
References
Frequently Asked Questions
What is GHSA-9qwg-crg9-m2vc?
Which Openssl versions are affected?
What version fixes GHSA-9qwg-crg9-m2vc?
Is openssl affected?
What CWE is associated with GHSA-9qwg-crg9-m2vc?
How can I check crates.io dependencies for GHSA-9qwg-crg9-m2vc?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9qwg-crg9-m2vc",
"modified" : "2023-03-24T22:01:29Z",
"published" : "2023-03-24T22:01:29Z",
"aliases" : [ ],
"summary" : "`openssl` `SubjectAlternativeName` and `ExtendedKeyUsage::other` allow arbitrary file read",
"details" : "`SubjectAlternativeName` and `ExtendedKeyUsage` arguments were parsed using the OpenSSL function `X509V3_EXT_nconf`. This function parses all input using an OpenSSL mini-language which can perform arbitrary file reads.\n\nThanks to David Benjamin (Google) for reporting this issue.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "openssl"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.9.7"
}, {
"fixed" : "0.10.48"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/sfackler/rust-openssl/pull/1854"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/sfackler/rust-openssl"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2023-0023.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-03-24T22:01:29Z",
"nvd_published_at" : null
}
}