Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') Affecting github.com/apache/incubator-answer/internal/base/middleware package, versions <1.2.5-RC1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMAPACHEINCUBATORANSWERINTERNALBASEMIDDLEWARE-6265524
  • published23 Feb 2024
  • disclosed22 Feb 2024
  • creditMohammad Reza Omrani

Introduced: 22 Feb 2024

CVE-2024-26578  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade github.com/apache/incubator-answer/internal/base/middleware to version 1.2.5-RC1 or higher.

Overview

Affected versions of this package are vulnerable to Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'). An attacker can exploit this vulnerability by rapidly submitting multiple registrations using scripts, which can result in the creation of multiple user accounts simultaneously with the same name.

CVSS Scores

version 3.1