CVE-2021-41232: Github.com/stevenweathers/thunderdome planning poker Improper Neutralization Of Special Elements Vulnerability

HIGH
Advisory Identifier: GHSA-26cm-qrc6-mfgj
CVSS 8.1
CWE-116 CWE-74 CWE-90
Published
Advisory Summary

CVE-2021-41232 is a HIGH (CVSS 8.1) improper neutralization of special elements vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Github.com/stevenweathers/thunderdome planning poker libraries in the Go ecosystem. The issue involves improper neutralization of special elements used in an ldap query in stevenweathers/thunderdome-planning-poker. Remediation is available by upgrading affected packages to version 1.16.3.

CVE-2021-41232 at a Glance

CVE Identifier CVE-2021-41232
GHSA Identifier GHSA-26cm-qrc6-mfgj
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-116: Improper Encoding or Escaping of Output
Affected Product Github.com/stevenweathers/thunderdome planning poker
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.1

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:C/C:H/I:L/A:L).

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

How to Fix CVE-2021-41232

To remediate this vulnerability, upgrade all affected Github.com/stevenweathers/thunderdome planning poker 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/stevenweathers/thunderdome-planning-poker fixed: 1.16.3
Upgrade github.com/stevenweathers/thunderdome-planning-poker to 1.16.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/stevenweathers/thunderdome-planning-poker

How to Check if You Are Affected

To determine whether your application is affected by CVE-2021-41232, inspect your project dependencies for Github.com/stevenweathers/thunderdome planning poker:

inspect dependencies for github.com/stevenweathers/thunderdome-planning-poker

Analyze the terminal output to locate any version of Github.com/stevenweathers/thunderdome planning poker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.16.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-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Github.com/stevenweathers/thunderdome planning poker, 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

### Impact LDAP injection vulnerability, only affects instances with LDAP authentication enabled. ### Patches Patch for vulnerability released with v1.16.3. ### Workarounds Disable LDAP feature if in use ### References [OWASP LDAP Injection Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html ) ### For more information If you have any questions or comments about this advisory: * Open an issue in [Thunderdome Github Repository](https://github.com/StevenWeathers/thunderdome-planning-poker) * Email us at [steven@weathers.me](mailto:steven@weathers.me)

CVE-2021-41232 Affected Github.com/stevenweathers/thunderdome planning poker Versions

1 component(s)
Fixed Versions:
1.16.3
Product / Package Ecosystem Affected Versions Fixed Version
github.com/stevenweathers/thunderdome-planning-poker
Go
< 1.16.3
1.16.3

References

Frequently Asked Questions

What is CVE-2021-41232?
CVE-2021-41232 is a security vulnerability in Github.com/stevenweathers/thunderdome planning poker involving Improper Neutralization of Special Elements used in an LDAP Query in stevenweathers/thunderdome-planning-poker under CWE-116: Improper Encoding or Escaping of Output.
Which Github.com/stevenweathers/thunderdome planning poker versions are affected?
Affected versions include releases prior to 1.16.3 across affected packages: github.com/stevenweathers/thunderdome-planning-poker.
What version fixes CVE-2021-41232?
Upgrading to 1.16.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/stevenweathers/thunderdome-planning-poker affected?
Yes, github.com/stevenweathers/thunderdome-planning-poker is affected in releases prior to 1.16.3. Upgrade your dependency to 1.16.3 or later.
What is the CVSS score of CVE-2021-41232?
CVE-2021-41232 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L.
What CWE is associated with CVE-2021-41232?
CVE-2021-41232 is classified under CWE-116: Improper Encoding or Escaping of Output (The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.).
How can I check Go dependencies for CVE-2021-41232?
Run the dependency tree command: 'inspect dependencies for github.com/stevenweathers/thunderdome-planning-poker'. 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-26cm-qrc6-mfgj",
  "modified" : "2024-02-08T22:24:20Z",
  "published" : "2021-11-08T18:16:21Z",
  "aliases" : [ "CVE-2021-41232" ],
  "summary" : "Improper Neutralization of Special Elements used in an LDAP Query in stevenweathers/thunderdome-planning-poker",
  "details" : "### Impact\nLDAP injection vulnerability, only affects instances with LDAP authentication enabled.\n\n### Patches\nPatch for vulnerability released with v1.16.3.\n\n### Workarounds\nDisable LDAP feature if in use\n\n### References\n[OWASP LDAP Injection Prevention Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/LDAP_Injection_Prevention_Cheat_Sheet.html\n)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [Thunderdome Github Repository](https://github.com/StevenWeathers/thunderdome-planning-poker)\n* Email us at [steven@weathers.me](mailto:steven@weathers.me)\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/stevenweathers/thunderdome-planning-poker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.16.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/StevenWeathers/thunderdome-planning-poker/security/advisories/GHSA-26cm-qrc6-mfgj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-41232"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/github/securitylab/issues/464#issuecomment-957094994"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/StevenWeathers/thunderdome-planning-poker/commit/f1524d01e8a0f2d6c3db5461c742456c692dd8c1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/StevenWeathers/thunderdome-planning-poker"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-116", "CWE-74", "CWE-90" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-11-02T18:40:07Z",
    "nvd_published_at" : "2021-11-02T18:15:00Z"
  }
}