CVE-2024-26578: Github.com/apache/incubator answer Apache Answer Race Condition Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-9q24-hwmc-797x
CVSS 5.9
CWE-362
Published
Advisory Summary

CVE-2024-26578 is a MODERATE (CVSS 5.9) apache answer race condition vulnerability vulnerability (CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')) affecting Github.com/apache/incubator answer libraries in the Go ecosystem. The issue involves apache answer race condition vulnerability. Remediation is available by upgrading affected packages to version 1.2.5.

CVE-2024-26578 at a Glance

CVE Identifier CVE-2024-26578
GHSA Identifier GHSA-9q24-hwmc-797x
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Affected Product Github.com/apache/incubator answer
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2024-26578

To remediate this vulnerability, upgrade all affected Github.com/apache/incubator answer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/apache/incubator-answer fixed: 1.2.5
Upgrade github.com/apache/incubator-answer to 1.2.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/apache/incubator-answer

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-26578, inspect your project dependencies for Github.com/apache/incubator answer:

inspect dependencies for github.com/apache/incubator-answer

Analyze the terminal output to locate any version of Github.com/apache/incubator answer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'), where the product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. In Github.com/apache/incubator answer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in Apache Answer. This issue affects Apache Answer through 1.2.1. Repeated submission during registration resulted in the registration of the same user. When users register, if they rapidly submit multiple registrations using scripts, it can result in the creation of multiple user accounts simultaneously with the same name. Users are recommended to upgrade to version 1.2.5, which fixes the issue.

CVE-2024-26578 Affected Github.com/apache/incubator answer Versions

1 component(s)
Fixed Versions:
1.2.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/apache/incubator-answer
Go
< 1.2.5
1.2.5

References

Frequently Asked Questions

What is CVE-2024-26578?
CVE-2024-26578 is a security vulnerability in Github.com/apache/incubator answer involving Apache Answer Race Condition vulnerability under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
Which Github.com/apache/incubator answer versions are affected?
Affected versions include releases prior to 1.2.5 across affected packages: github.com/apache/incubator-answer.
What version fixes CVE-2024-26578?
Upgrading to 1.2.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/apache/incubator-answer affected?
Yes, github.com/apache/incubator-answer is affected in releases prior to 1.2.5. Upgrade your dependency to 1.2.5 or later.
What is the CVSS score of CVE-2024-26578?
CVE-2024-26578 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2024-26578?
CVE-2024-26578 is classified under CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.).
How can I check Go dependencies for CVE-2024-26578?
Run the dependency tree command: 'inspect dependencies for github.com/apache/incubator-answer'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-9q24-hwmc-797x",
  "modified" : "2024-12-11T21:10:47Z",
  "published" : "2024-02-22T12:30:56Z",
  "aliases" : [ "CVE-2024-26578" ],
  "summary" : "Apache Answer Race Condition vulnerability",
  "details" : "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in Apache Answer. This issue affects Apache Answer through 1.2.1.\n\nRepeated submission during registration resulted in the registration of the same user. When users register, if they rapidly submit multiple registrations using scripts, it can result in the creation of multiple user accounts simultaneously with the same name.\n\nUsers are recommended to upgrade to version 1.2.5, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/incubator-answer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-26578"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/incubator-answer"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/ko0ksnznt2484lxt0zts2ygr82ldkhcb"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/02/22/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-362" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-22T21:35:15Z",
    "nvd_published_at" : "2024-02-22T10:15:08Z"
  }
}