# CVE-2021-28484: Infinite loop in Yubico yubihsm-connector

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-02)
- Published: 2021-04-14T17:07:26.000Z
- Modified: 2026-06-17T03:46:26.923Z
- Also known as: GHSA-8m9g-647g-5pxw
- Weaknesses: CWE-835
- Assigned by: mitre

## Description

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 did 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/Yubico/yubihsm-connector (Go): before 3.0.1
- yubico yubihsm_connector: before 3.0.1
- fedoraproject fedora: 34

## Every score

- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:R`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/Yubico/yubihsm-connector/releases> (third-party-advisory, web)
- <https://www.yubico.com/support/security-advisories/ysa-2021-02/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B7Q2KGXSPQEEONAWMFZRVH2TXWX3QPCQ/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28484> (advisory)
- <https://github.com/Yubico/yubihsm-connector/commit/82bdf202c53460bac9106cc9b4b34a0a16cae0ed> (web)
- <https://www.yubico.com/support/security-advisories/ysa-2021-02> (web)

## Sources

- CVE List: [CVE-2021-28484](https://www.cve.org/CVERecord?id=CVE-2021-28484), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-8m9g-647g-5pxw](https://github.com/advisories/GHSA-8m9g-647g-5pxw), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-28484](https://nvd.nist.gov/vuln/detail/CVE-2021-28484), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28484 · Whole record: https://cve.day/CVE-2021-28484.json · Rebuilt by cve.day 2026-11-25T22:58:00.821Z
