CVE-2024-58265: Snow Unauthenticated Nonce Increment Vulnerability
LOWCVE-2024-58265 is a LOW (CVSS 3.1) unauthenticated nonce increment vulnerability (CWE-440: Expected Behavior Violation) affecting Snow libraries in the crates.io ecosystem. The issue involves unauthenticated nonce increment in snow. Remediation is available by upgrading affected packages to version 0.9.5.
CVE-2024-58265 at a Glance
Security Impact
CVSS: 3.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L).
How to Fix CVE-2024-58265
To remediate this vulnerability, upgrade all affected Snow 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 snow to 0.9.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for snow
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-58265, inspect your project dependencies for Snow:
inspect dependencies for snow
Analyze the terminal output to locate any version of Snow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.5), 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-440: Expected Behavior Violation, where a feature, api, or function does not perform according to its specification. In Snow, 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-58265 Affected Snow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snow
|
crates.io |
< 0.9.5
|
0.9.5
|
References
Frequently Asked Questions
What is CVE-2024-58265?
Which Snow versions are affected?
What version fixes CVE-2024-58265?
Is snow affected?
What is the CVSS score of CVE-2024-58265?
What CWE is associated with CVE-2024-58265?
How can I check crates.io dependencies for CVE-2024-58265?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7g9j-g5jg-3vv3",
"modified" : "2025-07-28T15:56:29Z",
"published" : "2024-01-24T20:53:48Z",
"aliases" : [ "CVE-2024-58265" ],
"summary" : "Unauthenticated Nonce Increment in snow",
"details" : "### Impact\nThere was a logic bug where unauthenticated payloads could still cause a nonce increment in snow's internal state. For an attacker with the ability to inject packets into the channel Noise is talking over, this allows a denial-of-service type attack which could prevent communication as it causes the sending and receiving side to be expecting different nonce values than would arrive.\n\nNote that this only affects those who are using the stateful `TransportState`, not those using `StatelessTransportState`.\n\n### Patches\nThis has been patched in version 0.9.5, and all users are recommended to update.\n\n### References\nThere will be a more formal report of this in the near future.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "snow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mcginty/snow/security/advisories/GHSA-7g9j-g5jg-3vv3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-58265"
}, {
"type" : "WEB",
"url" : "https://github.com/mcginty/snow/commit/12e8ae55547ae297d5f70599e5c884ea891303eb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mcginty/snow"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0011.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-440" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-24T20:53:48Z",
"nvd_published_at" : null
}
}