GHSA-m2xr-2vj4-wh94: Tanton engine Tanton_engine Has Unsound Public API Vulnerability
MODERATEGHSA-m2xr-2vj4-wh94 is a MODERATE tanton_engine has unsound public api vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Tanton engine libraries in the crates.io ecosystem. The issue involves tanton_engine has unsound public api. Remediation is available in the latest vendor maintenance releases.
GHSA-m2xr-2vj4-wh94 at a Glance
How to Fix GHSA-m2xr-2vj4-wh94
To remediate this vulnerability, upgrade all affected Tanton engine 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 tanton_engine 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 tanton_engine
How to Check if You Are Affected
To determine whether your application is affected by GHSA-m2xr-2vj4-wh94, inspect your project dependencies for Tanton engine:
inspect dependencies for tanton_engine
Analyze the terminal output to locate any version of Tanton engine 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-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Tanton engine, 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-m2xr-2vj4-wh94 Affected Tanton engine Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tanton_engine
|
crates.io |
≤ 1.0.0
|
|
References
Frequently Asked Questions
What is GHSA-m2xr-2vj4-wh94?
Which Tanton engine versions are affected?
What version fixes GHSA-m2xr-2vj4-wh94?
Is tanton_engine affected?
What CWE is associated with GHSA-m2xr-2vj4-wh94?
How can I check crates.io dependencies for GHSA-m2xr-2vj4-wh94?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m2xr-2vj4-wh94",
"modified" : "2025-05-06T16:44:30Z",
"published" : "2025-05-06T16:44:30Z",
"aliases" : [ ],
"summary" : "tanton_engine has unsound public API",
"details" : "The following functions in the `tanton_engine` crate are unsound due to lack of sufficient boundary\nchecks in public API:\n\n- `Stack::offset()`\n- `ThreadStack::get()`\n- `RootMoveList::insert_score_depth()`\n- `RootMoveList::insert_score()`\n\nThe tanton_engine crate is no longer maintained, so there are no plans to fix this issue.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "tanton_engine"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2025-0031.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-119" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-05-06T16:44:30Z",
"nvd_published_at" : null
}
}