Vulnerabilities in pkg:golang/github.com/answerdev/answer

PACKAGE
Advisory Identifier: GHSA-pj2h-85jq-g5vg
Advisory Summary

CVE-2023-4815 is a HIGH (CVSS 8.3) answer missing authentication for critical vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Github.com/answerdev/answer libraries in the Go ecosystem. The issue involves answer missing authentication for critical function. Remediation is available by upgrading affected packages to version 1.1.3.

34 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/answerdev/answer

34 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/answerdev/answer. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-pj2h-85jq-g5vg CVE-2023-4815 HIGH Answer Missing Authentication for Critical Function
GHSA-52h8-c876-989c CVE-2023-4127 MODERATE Answer has Race Condition within a Thread
GHSA-ggcf-hwxp-rc77 CVE-2023-4126 MODERATE Answer Insufficient Session Expiration vulnerability
GHSA-j63x-f657-2m9g CVE-2023-4125 HIGH Answer has Weak Password Requirements
GHSA-v9vc-7x69-c2x8 CVE-2023-4124 HIGH Answer Missing Authorization vulnerability
GHSA-qmqw-r4x6-3w2q CVE-2023-2590 LOW Answer Missing Authorization vulnerability
GHSA-j97g-77fj-9c4p CVE-2023-1976 HIGH Answer vulnerable to account takeover because password reset links do not expire
GHSA-65v8-6pvw-jwvq CVE-2023-1975 MODERATE Answer vulnerable to Insertion of Sensitive Information Into Sent Data
GHSA-8jg3-rx43-3fv4 CVE-2023-1974 MODERATE Answer vulnerable to Exposure of Sensitive Information Through Metadata
GHSA-g44v-6qfm-f6ch CVE-2023-1539 MODERATE Answer has Guessable CAPTCHA
GHSA-h2wg-83fc-xvm9 CVE-2023-1541 LOW Answer vulnerable to Business Logic Errors
GHSA-r95w-7cpx-h5mx CVE-2023-1542 MODERATE Answer vulnerable to Business Logic Errors
GHSA-83qr-c7m9-wmgw CVE-2023-1535 MODERATE Answer vulnerable to Stored Cross-site Scripting
GHSA-6x5v-cxpp-pc5x CVE-2023-1540 MODERATE Answer has Observable Response Discrepancy
GHSA-79hx-g43v-xfmr CVE-2023-1543 HIGH Answer vulnerable to Insufficient Session Expiration
GHSA-xvfj-84vc-hrmf CVE-2023-1536 MODERATE Answer vulnerable to Stored Cross-site Scripting
GHSA-hwj7-frgj-7829 CVE-2023-1537 CRITICAL Answer vulnerable to Authentication Bypass by Capture-replay
GHSA-rvjp-8qj4-8p29 CVE-2023-1538 MODERATE Answer has Observable Timing Discrepancy
GHSA-6c32-3x46-m9rh CVE-2023-1245 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-h85v-cx5m-78wj CVE-2023-1244 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-8jh8-33f5-cgfp CVE-2023-1243 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-qrwm-xqfr-4vhv CVE-2023-1242 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-ff27-hrmr-ggpj CVE-2023-1241 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-55vm-3vq3-4jpc CVE-2023-1240 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-vxhr-p2vp-7gf8 CVE-2023-1239 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-5w78-v688-cx9q CVE-2023-1238 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-9v4v-9fj5-p982 CVE-2023-1237 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-6cvf-m58q-h9wf CVE-2023-0934 MODERATE Answer vulnerable to Cross-site Scripting
GHSA-4cwh-8w4g-jxxh CVE-2023-0744 CRITICAL Answer contains Improper Access Control vulnerability
GHSA-qx34-47fc-vv79 CVE-2023-0739 MODERATE Answer vulnerable to Race Condition
GHSA-hjmr-xm25-36mh CVE-2023-0743 CRITICAL Answer subject to Cross-site Scripting vulnerability
GHSA-p7wj-c85f-xq9h CVE-2023-0741 CRITICAL Answer has Cross-site Scripting vulnerability
GHSA-65px-4cpf-697r CVE-2023-0740 CRITICAL Cross-site scripting vulnerability found in answerdev/answer
GHSA-rmw8-7823-wp7f CVE-2023-0742 CRITICAL Answer contains Cross-site Scripting vulnerability

CVE-2023-4815 at a Glance

CVE Identifier CVE-2023-4815
GHSA Identifier GHSA-pj2h-85jq-g5vg
Severity HIGH
CVSS v3.1 Base Score 8.3
CWE Classification CWE-306: Missing Authentication for Critical Function
Affected Product Github.com/answerdev/answer
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.3

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

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

How to Fix CVE-2023-4815

To remediate this vulnerability, upgrade all affected Github.com/answerdev/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/answerdev/answer fixed: 1.1.3
Upgrade github.com/answerdev/answer to 1.1.3
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/answerdev/answer

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-4815, inspect your project dependencies for Github.com/answerdev/answer:

inspect dependencies for github.com/answerdev/answer

Analyze the terminal output to locate any version of Github.com/answerdev/answer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.3), 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-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Github.com/answerdev/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 Authentication for Critical Function in GitHub repository answerdev/answer prior to v1.1.3.

CVE-2023-4815 Affected Github.com/answerdev/answer Versions

1 component(s)
Fixed Versions:
1.1.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/answerdev/answer
Go
< 1.1.3
1.1.3

References

Frequently Asked Questions

What is CVE-2023-4815?
CVE-2023-4815 is a security vulnerability in Github.com/answerdev/answer involving Answer Missing Authentication for Critical Function under CWE-306: Missing Authentication for Critical Function.
Which Github.com/answerdev/answer versions are affected?
Affected versions include releases prior to 1.1.3 across affected packages: github.com/answerdev/answer.
What version fixes CVE-2023-4815?
Upgrading to 1.1.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/answerdev/answer affected?
Yes, github.com/answerdev/answer is affected in releases prior to 1.1.3. Upgrade your dependency to 1.1.3 or later.
What is the CVSS score of CVE-2023-4815?
CVE-2023-4815 has a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L.
What CWE is associated with CVE-2023-4815?
CVE-2023-4815 is classified under CWE-306: Missing Authentication for Critical Function (The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.).
How can I check Go dependencies for CVE-2023-4815?
Run the dependency tree command: 'inspect dependencies for github.com/answerdev/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-pj2h-85jq-g5vg",
  "modified" : "2023-09-08T12:20:46Z",
  "published" : "2023-09-07T09:30:15Z",
  "aliases" : [ "CVE-2023-4815" ],
  "summary" : "Answer Missing Authentication for Critical Function",
  "details" : "Missing Authentication for Critical Function in GitHub repository answerdev/answer prior to v1.1.3.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/answerdev/answer"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4815"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/answerdev/answer/commit/e75142a55546e01d8904f59db228422561f51666"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/answerdev/answer"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/4cd3eeb4-57c9-4af2-ad19-2166c9e0fd2c"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-306" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-09-08T12:20:46Z",
    "nvd_published_at" : "2023-09-07T07:15:08Z"
  }
}