CVE-2024-35312: Arti Tor Arti's STUB Circuits Incorrectly Vulnerability
HIGHCVE-2024-35312 is a HIGH (CVSS 7.5) tor arti's stub circuits incorrectly vulnerability (CWE-754: Improper Check for Unusual or Exceptional Conditions) affecting Arti libraries in the crates.io ecosystem. The issue involves tor arti's stub circuits incorrectly have a length of 2. Remediation is available by upgrading affected packages to version 1.2.3, 0.18.1.
CVE-2024-35312 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2024-35312
To remediate this vulnerability, upgrade all affected Arti 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 arti to 1.2.3
Upgrade tor-circmgr to 0.18.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for arti
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-35312, inspect your project dependencies for Arti:
inspect dependencies for arti
Analyze the terminal output to locate any version of Arti in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.3), 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-754: Improper Check for Unusual or Exceptional Conditions, where the product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product. In Arti, 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-2024-35312 Affected Arti Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
arti
|
crates.io |
≥ 1.2.2
< 1.2.3
All 1 versions
1.2.2
|
1.2.3
|
|
tor-circmgr
|
crates.io |
≥ 0.18.0
< 0.18.1
All 1 versions
0.18.0
|
0.18.1
|
References
Frequently Asked Questions
What is CVE-2024-35312?
Which Arti versions are affected?
What version fixes CVE-2024-35312?
Is arti affected?
Is tor-circmgr affected?
What is the CVSS score of CVE-2024-35312?
What CWE is associated with CVE-2024-35312?
How can I check crates.io dependencies for CVE-2024-35312?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9328-gcfq-p269",
"modified" : "2024-11-04T21:30:45Z",
"published" : "2024-05-18T00:30:42Z",
"aliases" : [ "CVE-2024-35312" ],
"summary" : "Tor Arti's STUB circuits incorrectly have a length of 2",
"details" : "In Tor Arti before 1.2.3, STUB circuits incorrectly have a length of 2 (with lite vanguards), aka TROVE-2024-003.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "arti"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.2"
}, {
"fixed" : "1.2.3"
} ]
} ],
"versions" : [ "1.2.2" ]
}, {
"package" : {
"ecosystem" : "crates.io",
"name" : "tor-circmgr"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.18.0"
}, {
"fixed" : "0.18.1"
} ]
} ],
"versions" : [ "0.18.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-35312"
}, {
"type" : "PACKAGE",
"url" : "https://gitlab.torproject.org/tpo/core/arti"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/arti/-/blob/main/CHANGELOG.md#arti-123-15-may-2024"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/arti/-/commit/da95138c14f762c706e46e89c6adfa46fcd5252c"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/arti/-/issues/1409"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2145"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2154"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2156"
}, {
"type" : "WEB",
"url" : "https://gitlab.torproject.org/tpo/core/team/-/wikis/NetworkTeam/TROVE"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0339.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-670", "CWE-754" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-20T16:18:10Z",
"nvd_published_at" : "2024-05-17T22:15:07Z"
}
}