Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/Yubico/yubihsm-connector
  4. ›
  5. CVE-2021-28484

CVE-2021-28484: Loop with Unreachable Exit Condition ('Infinite Loop')

February 15, 2022 (updated April 12, 2022)

An issue was discovered in the /api/connector endpoint handler in Yubico yubihsm-connector before 3.0.1 (in YubiHSM SDK before 2021.04). The handler does not validate the length of the request, which can lead to a state where yubihsm-connector becomes stuck in a loop waiting for the YubiHSM to send it data, preventing any further operations until the yubihsm-connector is restarted. An attacker can send 0, 1, or 2 bytes to trigger this.

References

  • github.com/Yubico/yubihsm-connector/commit/82bdf202c53460bac9106cc9b4b34a0a16cae0ed
  • github.com/Yubico/yubihsm-connector/releases
  • github.com/advisories/GHSA-8m9g-647g-5pxw
  • nvd.nist.gov/vuln/detail/CVE-2021-28484
  • www.yubico.com/support/security-advisories/ysa-2021-02/

Code Behaviors & Features

Detect and mitigate CVE-2021-28484 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.0.1

Fixed versions

  • v3.0.1

Solution

Upgrade to version 3.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

go/github.com/Yubico/yubihsm-connector/CVE-2021-28484.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:37 +0000.