Bug 2175168 (CVE-2023-27560)

Summary: CVE-2023-27560 phpseclib: Math/PrimeField.php infinite loop
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
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: 2023-03-03 16:16:34 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: 2175169, 2175170    
Bug Blocks:    

Description Avinash Hanwate 2023-03-03 12:58:38 UTC
Math/PrimeField.php in phpseclib through 2.0.41 has an infinite loop with composite primefields.

https://github.com/phpseclib/phpseclib/commit/6298d1cd55c3ffa44533bd41906caec246b60440

Comment 1 Avinash Hanwate 2023-03-03 12:59:07 UTC
Created php-phpseclib tracking bugs for this issue:

Affects: epel-7 [bug 2175169]
Affects: fedora-all [bug 2175170]

Comment 2 Product Security DevOps Team 2023-03-03 16:16:33 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.