Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    GHSA-JJ54-5Q2M-Q7PJ

    Vulnerability from github – Published: 2024-05-14 22:03 – Updated: 2024-05-21 20:34
    VLAI
    Summary
    NATS server TLS missing ciphersuite settings when CLI flags used
    Details

    (This advisory is canonically https://advisories.nats.io/CVE/CVE-2021-32026.txt)

    Problem Description

    The NATS server by default uses a restricted set of modern ciphersuites for TLS. This selection can be overridden through configuration. The defaults include just RSA and ECDSA with either AES/GCM with a SHA2 digest or ChaCha20/Poly1305.

    The configuration system allows for extensive use of CLI options to override configuration settings. When using these to set a key/cert for TLS, the restricted ciphersuite settings were lost, enabling all ciphersuites supported by Go by default.

    None of these additional ciphersuites are broken, so the NATS maintainers have fixed this in public git and the next release is not being hurried, nor is this security advisory embargoed.

    Affected versions

    NATS Server: * All versions prior to 2.2.3 * fixed with nats-io/nats-server commit ffccc2e1bd (2021-04-29)

    Impact

    If a server administrator chooses to start the nats-server with TLS configuration parameters provided on the command-line, then clients can negotiate TLS ciphersuites which were not expected.

    Workaround

    Use a configuration file to set the TLS parameters instead of command-line options.

    Solution

    Upgrade the NATS server.

    Credits

    This issue was identified and reported by SimCorp.

    Show details on source website

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Go",
            "name": "github.com/nats-io/nats-server/v2"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.2.3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "aliases": [
        "CVE-2021-32026"
      ],
      "database_specific": {
        "cwe_ids": [],
        "github_reviewed": true,
        "github_reviewed_at": "2024-05-14T22:03:51Z",
        "nvd_published_at": null,
        "severity": "LOW"
      },
      "details": "(This advisory is canonically \u003chttps://advisories.nats.io/CVE/CVE-2021-32026.txt\u003e)\n\n### Problem Description\n\nThe NATS server by default uses a restricted set of modern ciphersuites for TLS.  This selection can be overridden through configuration. The defaults include just RSA and ECDSA with either AES/GCM with a SHA2 digest or ChaCha20/Poly1305.\n\nThe configuration system allows for extensive use of CLI options to override configuration settings.  When using these to set a key/cert for TLS, the restricted ciphersuite settings were lost, enabling all ciphersuites supported by Go by default.\n\nNone of these additional ciphersuites are broken, so the NATS maintainers have fixed this in public git and the next release is not being hurried, nor is this security advisory embargoed.\n\n\n### Affected versions\n\nNATS Server:\n * All versions prior to 2.2.3\n * fixed with nats-io/nats-server commit ffccc2e1bd (2021-04-29)\n\n\n### Impact\n\nIf a server administrator chooses to start the nats-server with TLS configuration parameters provided on the command-line, then clients can negotiate TLS ciphersuites which were not expected.\n\n\n### Workaround\n\nUse a configuration file to set the TLS parameters instead of command-line options.\n\n\n### Solution\n\nUpgrade the NATS server.\n\n\n### Credits\n\nThis issue was identified and reported by SimCorp.",
      "id": "GHSA-jj54-5q2m-q7pj",
      "modified": "2024-05-21T20:34:18Z",
      "published": "2024-05-14T22:03:51Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/nats-io/nats-server/security/advisories/GHSA-jj54-5q2m-q7pj"
        },
        {
          "type": "WEB",
          "url": "https://github.com/nats-io/nats-server/commit/ffccc2e1bd7aa2466bd9e631e976bfd7ca46f225"
        },
        {
          "type": "WEB",
          "url": "https://advisories.nats.io"
        },
        {
          "type": "WEB",
          "url": "https://advisories.nats.io/CVE/CVE-2021-32026.txt"
        },
        {
          "type": "PACKAGE",
          "url": "https://github.com/nats-io/nats-server"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [],
      "summary": "NATS server TLS missing ciphersuite settings when CLI flags used"
    }

    GSD-2021-32026

    Vulnerability from gsd - Updated: 2023-12-13 01:23
    Details
    ** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.
    Aliases
    Aliases

    {
      "GSD": {
        "alias": "CVE-2021-32026",
        "id": "GSD-2021-32026"
      },
      "gsd": {
        "metadata": {
          "exploitCode": "unknown",
          "remediation": "unknown",
          "reportConfidence": "confirmed",
          "type": "vulnerability"
        },
        "osvSchema": {
          "aliases": [
            "CVE-2021-32026"
          ],
          "id": "GSD-2021-32026",
          "modified": "2023-12-13T01:23:09.001293Z",
          "schema_version": "1.4.0"
        }
      },
      "namespaces": {
        "cve.org": {
          "CVE_data_meta": {
            "ASSIGNER": "cve@mitre.org",
            "ID": "CVE-2021-32026",
            "STATE": "RESERVED"
          },
          "data_format": "MITRE",
          "data_type": "CVE",
          "data_version": "4.0",
          "description": {
            "description_data": [
              {
                "lang": "eng",
                "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided."
              }
            ]
          }
        }
      }
    }