Lucene search

K
githubGitHub Advisory DatabaseGHSA-C546-8JMQ-HPRJ
HistoryJun 06, 2024 - 9:30 p.m.

Race condition in zenml

2024-06-0621:30:36
CWE-366
GitHub Advisory Database
github.com
5
zenml
race condition
user creation
data inconsistency
authentication
security risks
api vulnerability

3.1 Low

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L

4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

A race condition vulnerability exists in zenml-io/zenml versions up to and including 0.55.3, which allows for the creation of multiple users with the same username when requests are sent in parallel. This issue was fixed in version 0.55.5. The vulnerability arises due to insufficient handling of concurrent user creation requests, leading to data inconsistencies and potential authentication problems. Specifically, concurrent processes may overwrite or corrupt user data, complicating user identification and posing security risks. This issue is particularly concerning for APIs that rely on usernames as input parameters, such as PUT /api/v1/users/test_race, where it could lead to further complications.

Affected configurations

Vulners
Node
zenmlRange<0.55.5
CPENameOperatorVersion
zenmllt0.55.5

3.1 Low

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:L

4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

Related for GHSA-C546-8JMQ-HPRJ