CVE-2024-41888: Apache Answer The Link For Resetting User Vulnerability

MODERATE
Advisory Identifier: GHSA-v3x9-wrq5-868j
CVSS 4.8
CWE-772
Published
Advisory Summary

CVE-2024-41888 is a MODERATE (CVSS 4.8) the link for resetting user vulnerability (CWE-772: Missing Release of Resource after Effective Lifetime) affecting Apache Answer libraries in the Go ecosystem. The issue involves the link for resetting user password is not single-use. Remediation is available by upgrading affected packages to version 1.3.6.

CVE-2024-41888 at a Glance

CVE Identifier CVE-2024-41888
GHSA Identifier GHSA-v3x9-wrq5-868j
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-772: Missing Release of Resource after Effective Lifetime
Affected Product Apache Answer
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 4.8

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:L/I:L/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 Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2024-41888

To remediate this vulnerability, upgrade all affected Apache 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.3.6
Upgrade github.com/apache/incubator-answer to 1.3.6
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-41888, inspect your project dependencies for Apache Answer:

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

Analyze the terminal output to locate any version of Apache Answer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.6), 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-772: Missing Release of Resource after Effective Lifetime, where the product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed. In Apache 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

Missing Release of Resource after Effective Lifetime vulnerability in Apache Answer. This issue affects Apache Answer: through 1.3.5. The password reset link remains valid within its expiration period even after it has been used. This could potentially lead to the link being misused or hijacked. Users are recommended to upgrade to version 1.3.6, which fixes the issue.

CVE-2024-41888 Affected Apache Answer Versions

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

References

Frequently Asked Questions

What is CVE-2024-41888?
CVE-2024-41888 is a security vulnerability in Apache Answer involving The link for resetting user password is not Single-Use under CWE-772: Missing Release of Resource after Effective Lifetime.
Which Apache Answer versions are affected?
Affected versions include releases prior to 1.3.6 across affected packages: github.com/apache/incubator-answer.
What version fixes CVE-2024-41888?
Upgrading to 1.3.6 (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.3.6. Upgrade your dependency to 1.3.6 or later.
What is the CVSS score of CVE-2024-41888?
CVE-2024-41888 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2024-41888?
CVE-2024-41888 is classified under CWE-772: Missing Release of Resource after Effective Lifetime (The product does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed.).
How can I check Go dependencies for CVE-2024-41888?
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-v3x9-wrq5-868j",
  "modified" : "2025-03-13T21:39:46Z",
  "published" : "2024-08-12T15:30:50Z",
  "aliases" : [ "CVE-2024-41888" ],
  "summary" : "Apache Answer: The link for resetting user password is not Single-Use",
  "details" : "Missing Release of Resource after Effective Lifetime vulnerability in Apache Answer.\n\nThis issue affects Apache Answer: through 1.3.5.\n\nThe password reset link remains valid within its expiration period even after it has been used. This could potentially lead to the link being misused or hijacked.\nUsers are recommended to upgrade to version 1.3.6, which fixes the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/apache/incubator-answer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-41888"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/incubator-answer/commit/2820efc454f5808974dce0aa99aac106be3f727b"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/jbs1j2o9rqm5sc19jyk3jcfvkmfkmyf4"
  }, {
    "type" : "PACKAGE",
    "url" : "github.com/apache/incubator-answer"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/08/09/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-772" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-08-12T18:33:35Z",
    "nvd_published_at" : "2024-08-12T13:38:31Z"
  }
}