CVE-2021-29452
JSON

8.1high

Any logged in user could edit any other logged in user.

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.78% (higher than 57% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8hw9-22v6-9jr9

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.

Affected

Product or packageVersionsReported by
curveball a12n-server>= 0.18 < 0.18.2CVE List
@curveball/a12n-server (npm)from 0.18.0 before 0.18.2GitHub Advisory Database
curveballjs a12n-serverfrom 0.18.0 before 0.18.2NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

Everyone who is running a12n-server.

A 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.

Patches

Patched in v0.18.2

NVD (es)

a12n-server es un paquete npm que presenta como objetivo proporcionar un sistema de autenticación simple.&#xa0;Se agregó un nuevo HAL-Form para permitir la edición de usuarios en versión 0.18.0.&#xa0;Esta función solo debería haber sido accesible para administradores.&#xa0;Lamentablemente, unos privilegios fueron comprobados incorrectamente, permitiendo a cualquier usuario que haya iniciado sesión realizar este cambio.&#xa0;Parcheado en la versión v0.18.2

References

Sources

SourceRecordLicence
CVE ListCVE-2021-29452 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-8hw9-22v6-9jr9 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-29452 changed 2026-06-17Public domain