Bug 1958798 (CVE-2021-28484) - CVE-2021-28484 yubihsm-connector: missing validation of the length of a request may lead to an infinite loop
Summary: CVE-2021-28484 yubihsm-connector: missing validation of the length of a reque...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-28484
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1958799
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-10 07:53 UTC by Marian Rehak
Modified: 2021-05-11 20:34 UTC (History)
2 users (show)

Fixed In Version: yubihsm-connector 3.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-11 20:34:01 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2021-05-10 07:53:04 UTC
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.

Reference:

https://www.yubico.com/support/security-advisories/ysa-2021-02/

Comment 1 Marian Rehak 2021-05-10 07:53:26 UTC
Created yubihsm-connector tracking bugs for this issue:

Affects: fedora-all [bug 1958799]

Comment 2 Product Security DevOps Team 2021-05-11 20:34:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.