Advisory

GHSA-hm7p-r324-hhf3

Also known as: CVE-2023-27560

Summary

phpseclib Infinite Loop vulnerability

Details

Math/PrimeField.php in phpseclib has an infinite loop with composite primefields. This vulnerability was introduced in version 3.0.0, and has been patched in 3.0.19. The CVE for this issue originally identified the the vulnerable version as 2.x, however, the vulnerable functionality was not introduced until version 3.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-03-03 06:30 UTC
Modified
2025-03-06 22:04 UTC

Affected packages and fixes

phpseclib/phpseclib

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.19 (ecosystem)

Fixed versions

3.0.19

Fix

The export has no generic command for this ecosystem.

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