CVE-2024-51210: Firepad Firepad Allows Insecure Document Access Vulnerability

LOW
Advisory Identifier: GHSA-4fh7-m2wx-6wfm
CVSS 5.3
CWE-125 CWE-200
Published
Advisory Summary

CVE-2024-51210 is a LOW (CVSS 5.3) firepad allows insecure document access vulnerability (CWE-125: Out-of-bounds Read) affecting Firepad libraries in the npm ecosystem. The issue involves firepad allows insecure document access. Remediation is available in the latest vendor maintenance releases.

CVE-2024-51210 at a Glance

CVE Identifier CVE-2024-51210
GHSA Identifier GHSA-4fh7-m2wx-6wfm
Severity LOW
CVSS v3.1 Base Score 5.3
CWE Classification CWE-125: Out-of-bounds Read
Affected Product Firepad
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2024-51210

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

firepad fixed: Latest secure release
npm install firepad@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 firepad

How to Check if You Are Affected

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

npm ls firepad

Analyze the terminal output to locate any version of Firepad 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 firepad 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-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Firepad, 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

Firepad through 1.5.11 allows remote attackers, who have knowledge of a pad ID, to retrieve both the current text of a document and all content that has previously been pasted into the document. NOTE: in several similar products, this is the intentional behavior for anyone who knows the full document ID and corresponding URL. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

CVE-2024-51210 Affected Firepad Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
firepad
npm
≤ 1.5.11

References

Frequently Asked Questions

What is CVE-2024-51210?
CVE-2024-51210 is a security vulnerability in Firepad involving Firepad allows insecure document access under CWE-125: Out-of-bounds Read.
Which Firepad versions are affected?
Affected versions include releases prior to current release patches across affected packages: firepad.
What version fixes CVE-2024-51210?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is firepad affected?
Yes, firepad is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-51210?
CVE-2024-51210 has a CVSS v3.1 base score of 5.3 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-51210?
CVE-2024-51210 is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check npm dependencies for CVE-2024-51210?
Run the dependency tree command: 'npm ls firepad'. 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-4fh7-m2wx-6wfm",
  "modified" : "2024-12-05T19:06:20Z",
  "published" : "2024-12-04T21:30:52Z",
  "aliases" : [ "CVE-2024-51210" ],
  "summary" : "Firepad allows insecure document access",
  "details" : "Firepad through 1.5.11 allows remote attackers, who have knowledge of a pad ID, to retrieve both the current text of a document and all content that has previously been pasted into the document. NOTE: in several similar products, this is the intentional behavior for anyone who knows the full document ID and corresponding URL. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "firepad"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.5.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-51210"
  }, {
    "type" : "WEB",
    "url" : "https://firebase.blog/posts/2013/04/announcing-firepad-our-open-source"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/FirebaseExtended/firepad"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FirebaseExtended/firepad/releases/tag/v1.5.11"
  }, {
    "type" : "WEB",
    "url" : "https://medium.com/@adityaahuja.work/accessing-full-history-of-firepad-users-ddc889e73936"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125", "CWE-200" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-04T22:37:05Z",
    "nvd_published_at" : "2024-12-04T21:15:24Z"
  }
}