Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-29452

a12n-server is an npm package which aims to provide a simple authentication system. A new HAL-Form was added to allow editing users in version 0.18.0. This feature should only have been accessible to admins. Unfortunately, privileges were incorrectly checked allowing any logged in user to make this change. Patched in v0.18.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-29452
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:16 UTC · Revision 1

Source evidence

CVE-2021-29452

core-osv · Original source

Published 16 Apr 2021, 22:15 UTC

a12n-server is an npm package which aims to provide a simple authentication system. A new HAL-Form was added to allow editing users in version 0.18.0. This feature should only have been accessible to admins. Unfortunately, privileges were incorrectly checked allowing any logged in user to make this change. Patched in v0.18.2.

osv:CVE-2021-29452
Complete source record
{
  "id": "41e32d62c932b9c7e467613b90bba75fed033e8894e16d38367ebdab8b65265e",
  "url": "https://osv.dev/vulnerability/CVE-2021-29452",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-29452",
    "summary": "a12n-server is an npm package which aims to provide a simple authentication system. A new HAL-Form was added to allow editing users in version 0.18.0. This feature should only have been accessible to admins. Unfortunately, privileges were incorrectly checked allowing any logged in user to make this change. Patched in v0.18.2.",
    "evidence": "osv:CVE-2021-29452",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-29452",
      "aliases": [
        "CVE-2021-29452",
        "GHSA-8hw9-22v6-9jr9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/curveball/a12n-server",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6f76fd9dda3c5482c6a5dfd4460a61e0a0e4c107"
                },
                {
                  "fixed": "1870e4f95fde90eea4626b69f41a4b363351731d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:curveballjs:a12n-server:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0.18.0"
                      },
                      {
                        "fixed": "0.18.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.18.1",
            "v0.18.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29452.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:43.720807674Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/%40curveball/a12n-server",
        "https://github.com/curveball/a12n-server/security/advisories/GHSA-8hw9-22v6-9jr9"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-29452",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384548,
  "published_at": "2021-04-16T22:15:14.31+00:00"
}