GHSA-hfxp-p695-629x: Abomonation Abomonation Transmutes &T To And Vulnerability
HIGHGHSA-hfxp-p695-629x is a HIGH abomonation transmutes &t to and vulnerability (General Security Weakness) affecting Abomonation libraries in the crates.io ecosystem. The issue involves abomonation transmutes &t to and from &[u8] without sufficient constraints. Remediation is available in the latest vendor maintenance releases.
GHSA-hfxp-p695-629x at a Glance
How to Fix GHSA-hfxp-p695-629x
To remediate this vulnerability, upgrade all affected Abomonation 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 abomonation 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 abomonation
How to Check if You Are Affected
To determine whether your application is affected by GHSA-hfxp-p695-629x, inspect your project dependencies for Abomonation:
inspect dependencies for abomonation
Analyze the terminal output to locate any version of Abomonation 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 General Security Weakness. In Abomonation, 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-hfxp-p695-629x Affected Abomonation Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
abomonation
|
crates.io |
≤ 0.7.3
|
|
References
Frequently Asked Questions
What is GHSA-hfxp-p695-629x?
Which Abomonation versions are affected?
What version fixes GHSA-hfxp-p695-629x?
Is abomonation affected?
What CWE is associated with GHSA-hfxp-p695-629x?
How can I check crates.io dependencies for GHSA-hfxp-p695-629x?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hfxp-p695-629x",
"modified" : "2023-06-13T16:02:38Z",
"published" : "2022-06-16T23:24:29Z",
"aliases" : [ ],
"summary" : "abomonation transmutes &T to and from &[u8] without sufficient constraints",
"details" : "This transmute is at the core of the abomonation crates. It's so easy to use it to violate alignment requirements that no test in the crate's test suite passes under miri.\n\nThe use of this transmute in serialization/deserialization also incorrectly assumes that the layout of a repr(Rust) type is stable.\nThis transmute can also disclose both the contents of padding bytes which may be an information leak and the contents of pointers, which may be used to defeat ASLR.\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "abomonation"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "0.7.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TimelyDataflow/abomonation/issues/23"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TimelyDataflow/abomonation"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2021-0120.html"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-16T23:24:29Z",
"nvd_published_at" : null
}
}