Bug 1812232 (CVE-2020-10184)

Summary: CVE-2020-10184 yubikey-val: SQL injection due to missing check of the length of SQL queries
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: nb, oliver
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-10 22:31:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1812234, 1812235    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-03-10 19:34:33 UTC
The verify endpoint in YubiKey Validation Server before 2.40 does not check the length of SQL queries, which allows remote attackers to cause a denial of service, aka SQL injection. NOTE: this issue is potentially relevant to persons outside Yubico who operate a self-hosted OTP validation service; the issue does NOT affect YubiCloud.

References:
https://github.com/Yubico/yubikey-val/releases/tag/yubikey-val-2.40
https://www.yubico.com/support/security-advisories/ysa-2020-01/

Comment 1 Guilherme de Almeida Suckevicz 2020-03-10 19:35:46 UTC
Created yubikey-val tracking bugs for this issue:

Affects: epel-6 [bug 1812234]
Affects: fedora-all [bug 1812235]

Comment 2 Product Security DevOps Team 2020-03-10 22:31:54 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.