GHSA-p2q9-36vw-c468: olm-sys Wrapped Library Unmaintained, Potentially Vulnerable Vulnerability
HIGHGHSA-p2q9-36vw-c468 is a HIGH wrapped library unmaintained, potentially vulnerable vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting olm-sys libraries in the crates.io ecosystem. The issue involves wrapped library unmaintained, potentially vulnerable. Remediation is available in the latest vendor maintenance releases.
GHSA-p2q9-36vw-c468 at a Glance
How to Fix GHSA-p2q9-36vw-c468
To remediate this vulnerability, upgrade all affected olm-sys 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 olm-sys to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for olm-sys
How to Check if You Are Affected
To determine whether your application is affected by GHSA-p2q9-36vw-c468, inspect your project dependencies for olm-sys:
inspect dependencies for olm-sys
Analyze the terminal output to locate any version of olm-sys in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. In olm-sys, 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-p2q9-36vw-c468 Affected olm-sys Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
olm-sys
|
crates.io |
≤ 1.3.2
|
|
References
Frequently Asked Questions
What is GHSA-p2q9-36vw-c468?
Which olm-sys versions are affected?
What version fixes GHSA-p2q9-36vw-c468?
Is olm-sys affected?
What CWE is associated with GHSA-p2q9-36vw-c468?
How can I check crates.io dependencies for GHSA-p2q9-36vw-c468?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p2q9-36vw-c468",
"modified" : "2024-09-03T21:11:21Z",
"published" : "2024-09-03T21:11:21Z",
"aliases" : [ ],
"summary" : "olm-sys: wrapped library unmaintained, potentially vulnerable",
"details" : "After several cryptographic vulnerabilities in `libolm` were disclosed publicly, the Matrix Foundation has [officially deprecated the library](https://matrix.org/blog/2024/08/libolm-deprecation/). `olm-sys` is a thin wrapper around `libolm` and is now deprecated and potentially vulnerable in kind.\n\nUsers of `olm-sys` and its higher-level abstraction, `olm-rs`, are highly encouraged to switch to [`vodozemac`](https://crates.io/crates/vodozemac) as soon as possible. It is the successor effort to `libolm` and is written in Rust.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "olm-sys"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "PACKAGE",
"url" : "https://gitlab.gnome.org/BrainBlasted/olm-sys"
}, {
"type" : "WEB",
"url" : "https://gitlab.gnome.org/BrainBlasted/olm-sys/-/issues/12"
}, {
"type" : "WEB",
"url" : "https://matrix.org/blog/2024/08/libolm-deprecation"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0368.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-03T21:11:21Z",
"nvd_published_at" : null
}
}