CVE-2024-51210: Firepad Firepad Allows Insecure Document Access Vulnerability
LOWCVE-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
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).
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.
npm install firepad@Latest secure release
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
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?
Which Firepad versions are affected?
What version fixes CVE-2024-51210?
Is firepad affected?
What is the CVSS score of CVE-2024-51210?
What CWE is associated with CVE-2024-51210?
How can I check npm dependencies for CVE-2024-51210?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}