CVE-2021-29452: @curveball/a12n server Any Logged Vulnerability
HIGHCVE-2021-29452 is a HIGH (CVSS 8.1) any logged vulnerability (CWE-269: Improper Privilege Management) affecting @curveball/a12n server libraries in the npm ecosystem. The issue involves any logged in user could edit any other logged in user.. Remediation is available by upgrading affected packages to version 0.18.2.
CVE-2021-29452 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2021-29452
To remediate this vulnerability, upgrade all affected @curveball/a12n server 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 @curveball/a12n-server@0.18.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @curveball/a12n-server
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2021-29452, inspect your project dependencies using npm:
npm ls @curveball/a12n-server
Analyze the terminal output to locate any version of @curveball/a12n server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.18.2), your application is affected.
Note: The npm ls @curveball/a12n-server 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In @curveball/a12n server, 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-2021-29452 Affected @curveball/a12n server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@curveball/a12n-server
|
npm |
≥ 0.18.0
< 0.18.2
|
0.18.2
|
References
Frequently Asked Questions
What is CVE-2021-29452?
Which @curveball/a12n server versions are affected?
What version fixes CVE-2021-29452?
Is @curveball/a12n-server affected?
What is the CVSS score of CVE-2021-29452?
What CWE is associated with CVE-2021-29452?
How can I check npm dependencies for CVE-2021-29452?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8hw9-22v6-9jr9",
"modified" : "2021-04-16T23:04:15Z",
"published" : "2021-04-19T15:14:33Z",
"aliases" : [ "CVE-2021-29452" ],
"summary" : "Any logged in user could edit any other logged in user.",
"details" : "### Impact\nEveryone who is running a12n-server. \n\nA new HAL-Form was added to allow editing users. This feature should only have been accessible to admins. Unfortunately, privileges were incorrectly checked allowing any logged in user to make this change.\n\n### Patches\nPatched in v0.18.2",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@curveball/a12n-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.18.0"
}, {
"fixed" : "0.18.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/curveball/a12n-server/security/advisories/GHSA-8hw9-22v6-9jr9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-29452"
}, {
"type" : "WEB",
"url" : "https://www.npmjs.com/package/@curveball/a12n-server"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-269", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-04-16T23:04:15Z",
"nvd_published_at" : "2021-04-16T22:15:00Z"
}
}