{
  "document": {
    "aggregate_severity": {
      "text": "Medium"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "TuxCare License Agreement",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Cloud Linux Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://tuxcare.com/contact/",
      "name": "TuxCare",
      "namespace": "https://tuxcare.com/"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.tuxcare.com/csaf/v2/els_os/centos8.5els/vex/2021/cve-2021-3634-els_os-centos8_5els.json"
      }
    ],
    "tracking": {
      "current_release_date": "2026-11-28T20:53:03Z",
      "generator": {
        "date": "2026-11-28T20:53:03Z",
        "engine": {
          "name": "pyCSAF"
        }
      },
      "id": "CVE-2021-3634-ELS_OS-CENTOS8.5ELS",
      "initial_release_date": "2021-08-31T17:15:00Z",
      "revision_history": [
        {
          "date": "2021-08-31T17:15:00Z",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-11-28T20:53:03Z",
          "number": "2",
          "summary": "Official Publication"
        }
      ],
      "status": "final",
      "version": "2"
    },
    "title": "Security update on CVE-2021-3634"
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Community Enterprise Operating System 8.5",
                "product": {
                  "name": "Community Enterprise Operating System 8.5",
                  "product_id": "CentOS-8.5",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:o:centos:centos:8.5:*:*:*:*:*:*:*"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Community Enterprise Operating System"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-devel-0:0.9.4-3.el8.i686",
                "product": {
                  "name": "libssh-devel-0:0.9.4-3.el8.i686",
                  "product_id": "libssh-devel-0:0.9.4-3.el8.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/libssh-devel@0.9.4-3.el8?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssh-0:0.9.4-3.el8.i686",
                "product": {
                  "name": "libssh-0:0.9.4-3.el8.i686",
                  "product_id": "libssh-0:0.9.4-3.el8.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/libssh@0.9.4-3.el8?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-devel-0:0.9.4-3.el8.x86_64",
                "product": {
                  "name": "libssh-devel-0:0.9.4-3.el8.x86_64",
                  "product_id": "libssh-devel-0:0.9.4-3.el8.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/libssh-devel@0.9.4-3.el8?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssh-0:0.9.4-3.el8.x86_64",
                "product": {
                  "name": "libssh-0:0.9.4-3.el8.x86_64",
                  "product_id": "libssh-0:0.9.4-3.el8.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/libssh@0.9.4-3.el8?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-config-0:0.9.4-3.el8.noarch",
                "product": {
                  "name": "libssh-config-0:0.9.4-3.el8.noarch",
                  "product_id": "libssh-config-0:0.9.4-3.el8.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/centos/libssh-config@0.9.4-3.el8?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat, Inc."
      },
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686",
                "product": {
                  "name": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686",
                  "product_id": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/libssh-devel@0.9.4-3.el8.tuxcare.els1?arch=i686"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssh-0:0.9.4-3.el8.tuxcare.els1.i686",
                "product": {
                  "name": "libssh-0:0.9.4-3.el8.tuxcare.els1.i686",
                  "product_id": "libssh-0:0.9.4-3.el8.tuxcare.els1.i686",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/libssh@0.9.4-3.el8.tuxcare.els1?arch=i686"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "i686"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64",
                "product": {
                  "name": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64",
                  "product_id": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/libssh-devel@0.9.4-3.el8.tuxcare.els1?arch=x86_64"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64",
                "product": {
                  "name": "libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64",
                  "product_id": "libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/libssh@0.9.4-3.el8.tuxcare.els1?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch",
                "product": {
                  "name": "libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch",
                  "product_id": "libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/cloudlinux/libssh-config@0.9.4-3.el8.tuxcare.els1?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "CloudLinux"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686"
        },
        "product_reference": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64"
        },
        "product_reference": "libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-0:0.9.4-3.el8.tuxcare.els1.i686 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-0:0.9.4-3.el8.tuxcare.els1.i686"
        },
        "product_reference": "libssh-0:0.9.4-3.el8.tuxcare.els1.i686",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64"
        },
        "product_reference": "libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch"
        },
        "product_reference": "libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-devel-0:0.9.4-3.el8.i686 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.i686"
        },
        "product_reference": "libssh-devel-0:0.9.4-3.el8.i686",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-devel-0:0.9.4-3.el8.x86_64 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.x86_64"
        },
        "product_reference": "libssh-devel-0:0.9.4-3.el8.x86_64",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-0:0.9.4-3.el8.i686 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-0:0.9.4-3.el8.i686"
        },
        "product_reference": "libssh-0:0.9.4-3.el8.i686",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-0:0.9.4-3.el8.x86_64 as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-0:0.9.4-3.el8.x86_64"
        },
        "product_reference": "libssh-0:0.9.4-3.el8.x86_64",
        "relates_to_product_reference": "CentOS-8.5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libssh-config-0:0.9.4-3.el8.noarch as a component of Community Enterprise Operating System 8.5",
          "product_id": "CentOS-8.5:libssh-config-0:0.9.4-3.el8.noarch"
        },
        "product_reference": "libssh-config-0:0.9.4-3.el8.noarch",
        "relates_to_product_reference": "CentOS-8.5"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-3634",
      "cwe": {
        "id": "CWE-787",
        "name": "Out-of-bounds Write"
      },
      "notes": [
        {
          "category": "description",
          "text": "A flaw has been found in libssh in versions prior to 0.9.6. The SSH protocol keeps track of two shared secrets during the lifetime of the session. One of them is called secret_hash and the other session_id. Initially, both of them are the same, but after key re-exchange, previous session_id is kept and used as an input to new secret_hash. Historically, both of these buffers had shared length variable, which worked as long as these buffers were same. But the key re-exchange operation can also change the key exchange method, which can be based on hash of different size, eventually creating \"secret_hash\" of different size than the session_id has. This becomes an issue when the session_id memory is zeroed or when it is used again during second key re-exchange.",
          "title": "Vulnerability description"
        },
        {
          "category": "other",
          "text": "NIST",
          "title": "Score source"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "CentOS-8.5:libssh-0:0.9.4-3.el8.tuxcare.els1.i686",
          "CentOS-8.5:libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64",
          "CentOS-8.5:libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch",
          "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686",
          "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64"
        ],
        "known_affected": [
          "CentOS-8.5:libssh-0:0.9.4-3.el8.i686",
          "CentOS-8.5:libssh-0:0.9.4-3.el8.x86_64",
          "CentOS-8.5:libssh-config-0:0.9.4-3.el8.noarch",
          "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.i686",
          "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://cve.tuxcare.com/els/cve/CVE-2021-3634"
        },
        {
          "category": "external",
          "summary": "https://bugzilla.redhat.com/show_bug.cgi?id=1978810",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1978810"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRK67AJCWYYVAGF5SGAHNZXCX3PN3ZFP/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DRK67AJCWYYVAGF5SGAHNZXCX3PN3ZFP/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKYD3ZRAMDAQX3ZW6THHUF3GXN7FF6B4/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JKYD3ZRAMDAQX3ZW6THHUF3GXN7FF6B4/"
        },
        {
          "category": "external",
          "summary": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWAAB2XMKEUMPMDALINKAA4U2QM4LNG/",
          "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWAAB2XMKEUMPMDALINKAA4U2QM4LNG/"
        },
        {
          "category": "external",
          "summary": "https://security.gentoo.org/glsa/202312-05",
          "url": "https://security.gentoo.org/glsa/202312-05"
        },
        {
          "category": "external",
          "summary": "https://security.netapp.com/advisory/ntap-20211004-0003/",
          "url": "https://security.netapp.com/advisory/ntap-20211004-0003/"
        },
        {
          "category": "external",
          "summary": "https://www.debian.org/security/2021/dsa-4965",
          "url": "https://www.debian.org/security/2021/dsa-4965"
        },
        {
          "category": "external",
          "summary": "https://www.oracle.com/security-alerts/cpujan2022.html",
          "url": "https://www.oracle.com/security-alerts/cpujan2022.html"
        }
      ],
      "release_date": "2021-08-31T17:15:00Z",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2023-05-25T10:05:03Z",
          "details": "Details on how to apply the fix are available at: https://cve.tuxcare.com/els/releases/CLSA-2023:1685023501",
          "product_ids": [
            "CentOS-8.5:libssh-0:0.9.4-3.el8.tuxcare.els1.i686",
            "CentOS-8.5:libssh-0:0.9.4-3.el8.tuxcare.els1.x86_64",
            "CentOS-8.5:libssh-config-0:0.9.4-3.el8.tuxcare.els1.noarch",
            "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.tuxcare.els1.i686",
            "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.tuxcare.els1.x86_64"
          ],
          "url": "https://cve.tuxcare.com/els/releases/CLSA-2023:1685023501"
        },
        {
          "category": "none_available",
          "date": "2021-08-31T17:15:00Z",
          "details": "Affected",
          "product_ids": [
            "CentOS-8.5:libssh-0:0.9.4-3.el8.i686",
            "CentOS-8.5:libssh-0:0.9.4-3.el8.x86_64",
            "CentOS-8.5:libssh-config-0:0.9.4-3.el8.noarch",
            "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.i686",
            "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "products": [
            "CentOS-8.5:libssh-0:0.9.4-3.el8.i686",
            "CentOS-8.5:libssh-0:0.9.4-3.el8.x86_64",
            "CentOS-8.5:libssh-config-0:0.9.4-3.el8.noarch",
            "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.i686",
            "CentOS-8.5:libssh-devel-0:0.9.4-3.el8.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ]
    }
  ]
}