GitHub Advisoryadvisory · Go

GHSA-8m9g-647g-5pxw Infinite loop in Yubico yubihsm-connector

HIGH Published 2022-02-15 Modified 2021-05-07 Official page ↗
Aliases
CVE-2021-28484
Ecosystem
Go
Packages
github.com/Yubico/yubihsm-connector
Severity
High
CVSS vector
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
Weaknesses
CWE-835
Reviewed
2021-05-07

Affected packages

• Go github.com/Yubico/yubihsm-connector: < 3.0.1 → fixed in 3.0.1

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.

Related

Alias · CVE (1)

  • CVE-2021-28484 An issue was discovered in the /api/connector endpoint handler in Yubico yubihsm-connector before 3.0.1 (in YubiHSM SDK before 2021.04). vulnerability

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References