Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. thread-amount
  4. ›
  5. GHSA-jf9p-2fv9-2jp2

GHSA-jf9p-2fv9-2jp2: thread-amount Vulnerable to Resource Exhaustion (Memory and Handle Leaks) on Windows and macOS

November 21, 2025

Affected versions of this crate contain resource leaks when querying thread counts on Windows and Apple platforms.

References

  • github.com/advisories/GHSA-jf9p-2fv9-2jp2
  • github.com/jzeuzs/thread-amount
  • github.com/jzeuzs/thread-amount/pull/29
  • github.com/jzeuzs/thread-amount/security/advisories/GHSA-jf9p-2fv9-2jp2

Code Behaviors & Features

Detect and mitigate GHSA-jf9p-2fv9-2jp2 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.2

Fixed versions

  • 0.2.2

Solution

Upgrade to version 0.2.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

cargo/thread-amount/GHSA-jf9p-2fv9-2jp2.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 05 Dec 2025 00:20:25 +0000.