Advisory

GHSA-8m9g-647g-5pxw

Also known as: CVE-2021-28484

Summary

Infinite loop in Yubico yubihsm-connector

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-15 01:57 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

github.com/Yubico/yubihsm-connector

Go · All systems

Affected

  • introduced 0, fixed 3.0.1 (semver)

Fixed versions

3.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences