CVE-2022-31177
JSON

2.7low

Possible to infer sensitive information through query strings in Flask-AppBuilder

Severity
2.7low 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-32ff-4g79-vgfcPYSEC-2022-247

Description

Flask-AppBuilder is an application development framework built on top of Flask python framework. In versions prior to 4.1.3 an authenticated Admin user could query other users by their salted and hashed passwords strings. These filters could be made by using partial hashed password strings. The response would not include the hashed passwords, but an attacker could infer partial password hashes and their respective users. This issue has been fixed in version 4.1.3. Users are advised to upgrade. There are no known workarounds for this issue.

Affected

Product or packageVersionsReported by
dpgaspar Flask-AppBuilder< 4.1.3, before 4.1.3CVE List, NVD
flask-appbuilder (PyPI)before 4.1.3GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
GitHub2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
NVD2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-200CWE-916

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Flask-AppBuilder is an application development framework built on top of Flask python framework. In versions prior to 4.1.3 an authenticated Admin user could query other users by their salted and hashed passwords strings. These filters could be made by using partial hashed password strings. The response would not include the hashed passwords, but an attacker could infer partial password hashes and their respective users. This issue has been fixed in version 4.1.3. Users are advised to upgrade. There are no known workarounds for this issue.

GitHub Advisory Database
Impact

An authenticated Admin user could craft HTTP requests to filter users by their salted and hashed passwords strings. These filters could be made by using partial hashed password strings. The response would not include the hashed passwords, but an attacker could infer partial password hashes and their respective users.

Only when using AUTH_DB database authentication option.

Patches

Fixed on 4.1.3

For more information

If you have any questions or comments about this advisory:

NVD (es)

Flask-AppBuilder es un marco de desarrollo de aplicaciones construido sobre el marco de trabajo python Flask. En versiones anteriores a 4.1.3, un usuario administrador autenticado podía consultar a otros usuarios por sus cadenas de contraseñas con sal y hash. Estos filtros podían hacerse al usar cadenas de contraseñas con hash parcial. La respuesta no incluiría las contraseñas con hash, pero un atacante podría inferir los hash de las contraseñas parciales y sus respectivos usuarios. Este problema ha sido corregido en versión 4.1.3. Es recomendado a usuarios actualizar. No se presentan mitigaciones conocidas para este problema

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31177 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-32ff-4g79-vgfc changed 2025-03-07CC-BY-4.0
NVDCVE-2022-31177 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2022-247 changed 2023-11-08CC-BY-4.0