CVE-2024-55500: Whistle Avenwu Whistle Cross-Site Request Forgery Vulnerability

HIGH
Advisory Identifier: GHSA-gg6x-448q-pqqm
CWE-352
Published
Advisory Summary

CVE-2024-55500 is a HIGH avenwu whistle cross-site request forgery vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Whistle libraries in the npm ecosystem. The issue involves avenwu whistle cross-site request forgery (csrf). Remediation is available in the latest vendor maintenance releases.

CVE-2024-55500 at a Glance

CVE Identifier CVE-2024-55500
GHSA Identifier GHSA-gg6x-448q-pqqm
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Whistle
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2024-55500

To remediate this vulnerability, upgrade all affected Whistle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

whistle fixed: Latest secure release
npm install whistle@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls whistle

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2024-55500, inspect your project dependencies using npm:

npm ls whistle

Analyze the terminal output to locate any version of Whistle 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: The npm ls whistle command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. In Whistle, 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

Cross-Site Request Forgery (CSRF) in Avenwu Whistle v.2.9.90 and before allows attackers to perform malicious API calls, resulting in the execution of arbitrary code on the victim's machine.

CVE-2024-55500 Affected Whistle Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
whistle
npm
≤ 2.9.90

References

Frequently Asked Questions

What is CVE-2024-55500?
CVE-2024-55500 is a security vulnerability in Whistle involving Avenwu Whistle Cross-Site Request Forgery (CSRF) under CWE-352: Cross-Site Request Forgery (CSRF).
Which Whistle versions are affected?
Affected versions include releases prior to current release patches across affected packages: whistle.
What version fixes CVE-2024-55500?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is whistle affected?
Yes, whistle is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2024-55500?
CVE-2024-55500 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check npm dependencies for CVE-2024-55500?
Run the dependency tree command: 'npm ls whistle'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gg6x-448q-pqqm",
  "modified" : "2024-12-10T22:41:21Z",
  "published" : "2024-12-10T21:30:52Z",
  "aliases" : [ "CVE-2024-55500" ],
  "summary" : "Avenwu Whistle Cross-Site Request Forgery (CSRF)",
  "details" : "Cross-Site Request Forgery (CSRF) in Avenwu Whistle v.2.9.90 and before allows attackers to perform malicious API calls, resulting in the execution of arbitrary code on the victim's machine.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "whistle"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.9.90"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-55500"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/avwo/whistle/commit/d1b8ca275dc4e453bd2efed392c0fd4b92f73cdf"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/avwo/whistle"
  }, {
    "type" : "WEB",
    "url" : "https://www.sonarsource.com/blog/never-underestimate-csrf-why-origin-reflection-is-a-bad-idea"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-10T22:41:20Z",
    "nvd_published_at" : "2024-12-10T19:15:31Z"
  }
}