Vulnerabilities in pkg:npm/strapi-plugin-protected-populate
PACKAGECVE-2023-48218 is a MODERATE (CVSS 5.3) bypass of field access control vulnerability (CWE-863: Incorrect Authorization) affecting Strapi plugin protected populate libraries in the npm ecosystem. The issue involves bypass of field access control in strapi-plugin-protected-populate. Remediation is available by upgrading affected packages to version 1.3.4.
pkg:npm/strapi-plugin-protected-populate
Vulnerability advisories affecting package pkg:npm/strapi-plugin-protected-populate. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6h67-934r-82g7 | CVE-2023-48218 | MODERATE | Bypass of field access control in strapi-plugin-protected-populate |
CVE-2023-48218 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-2023-48218
To remediate this vulnerability, upgrade all affected Strapi plugin protected populate 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 strapi-plugin-protected-populate@1.3.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls strapi-plugin-protected-populate
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-48218, inspect your project dependencies using npm:
npm ls strapi-plugin-protected-populate
Analyze the terminal output to locate any version of Strapi plugin protected populate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.4), your application is affected.
Note: The npm ls strapi-plugin-protected-populate 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-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Strapi plugin protected populate, 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-2023-48218 Affected Strapi plugin protected populate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
strapi-plugin-protected-populate
|
npm |
< 1.3.4
|
1.3.4
|
References
Frequently Asked Questions
What is CVE-2023-48218?
Which Strapi plugin protected populate versions are affected?
What version fixes CVE-2023-48218?
Is strapi-plugin-protected-populate affected?
What is the CVSS score of CVE-2023-48218?
What CWE is associated with CVE-2023-48218?
How can I check npm dependencies for CVE-2023-48218?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6h67-934r-82g7",
"modified" : "2023-11-20T21:01:43Z",
"published" : "2023-11-20T21:01:43Z",
"aliases" : [ "CVE-2023-48218" ],
"summary" : "Bypass of field access control in strapi-plugin-protected-populate",
"details" : "### Impact\nUsers are able to bypass the field level security. This means fields that they where not allowed to populate could be populated anyway even in the event that they tried to populate something that they don't have access to.\n\n### Patches\nThis issue has been patched in 1.3.4\n\n### Workarounds\nNone\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "strapi-plugin-protected-populate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/strapi-community/strapi-plugin-protected-populate/security/advisories/GHSA-6h67-934r-82g7"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-48218"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi-community/strapi-plugin-protected-populate/commit/05441066d64e09dd55937d9f089962e9ebe2fb39"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/strapi-community/strapi-plugin-protected-populate"
}, {
"type" : "WEB",
"url" : "https://github.com/strapi-community/strapi-plugin-protected-populate/releases/tag/v1.3.4"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-11-20T21:01:43Z",
"nvd_published_at" : "2023-11-20T17:15:13Z"
}
}