CVE-2024-43409: Ghost Ghost's Improper Authentication Allows Access Vulnerability
MODERATECVE-2024-43409 is a MODERATE (CVSS 6.5) ghost's improper authentication allows access vulnerability (CWE-284: Improper Access Control) affecting Ghost libraries in the npm ecosystem. The issue involves ghost's improper authentication allows access to member information and actions. Remediation is available by upgrading affected packages to version 5.89.5, 2.39.0.
CVE-2024-43409 at a Glance
Security Impact
CVSS: 6.5
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:L/A:N).
How to Fix CVE-2024-43409
To remediate this vulnerability, upgrade all affected Ghost 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 ghost@5.89.5
npm install @tryghost/portal@2.39.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls ghost
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-43409, inspect your project dependencies using npm:
npm ls ghost
Analyze the terminal output to locate any version of Ghost in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.89.5), your application is affected.
Note: The npm ls ghost 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Ghost, 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-43409 Affected Ghost Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ghost
|
npm |
≥ 4.46.0
< 5.89.5
|
5.89.5
|
|
@tryghost/portal
|
npm |
≥ 1.22.2
< 2.39.0
|
2.39.0
|
References
Frequently Asked Questions
What is CVE-2024-43409?
Which Ghost versions are affected?
What version fixes CVE-2024-43409?
Is ghost affected?
Is @tryghost/portal affected?
What is the CVSS score of CVE-2024-43409?
What CWE is associated with CVE-2024-43409?
How can I check npm dependencies for CVE-2024-43409?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-78x2-cwp9-5j42",
"modified" : "2024-10-29T20:00:41Z",
"published" : "2024-08-20T20:04:49Z",
"aliases" : [ "CVE-2024-43409" ],
"summary" : "Ghost's improper authentication allows access to member information and actions",
"details" : "### Impact\n\nImproper authentication on some endpoints used for member actions would allow an attacker to perform member-only actions, and read member information.\n\n### Vulnerable versions\n\nThis security vulnerability is present in Ghost v4.46.0-v5.89.5.\n\nGhost(Pro) customers are automatically updated to fixed versions ahead of disclosure.\n\nIf you're a self-hoster, please follow our [update instructions](https://ghost.org/docs/update).\n\n### Patches\n\nv5.89.5 contains a fix for this issue.\n\n### Workarounds\n\nDisable site membership in Ghost settings.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Email us at [security@ghost.org](mailto:security@ghost.org)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "ghost"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.46.0"
}, {
"fixed" : "5.89.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "npm",
"name" : "@tryghost/portal"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.22.2"
}, {
"fixed" : "2.39.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/security/advisories/GHSA-78x2-cwp9-5j42"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-43409"
}, {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/commit/dac25612520b571f58679764ecc27109e641d1db"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TryGhost/Ghost"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284", "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-20T20:04:49Z",
"nvd_published_at" : "2024-08-20T15:15:24Z"
}
}