Ubuntu CVE Tracker
UBUNTU-CVE-2024-27354
Details
An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | php-phpseclib | All versions before 2.0.1-1ubuntu0.1~esm2 (fixed in 2.0.1-1ubuntu0.1~esm2) |
| Ubuntu:Pro:16.04:LTS | phpseclib | All versions before 1.0.1-3ubuntu0.1+esm1 (fixed in 1.0.1-3ubuntu0.1+esm1) |
| Ubuntu:Pro:18.04:LTS | php-phpseclib | All versions before 2.0.9-1ubuntu0.1~esm2 (fixed in 2.0.9-1ubuntu0.1~esm2) |
| Ubuntu:Pro:18.04:LTS | phpseclib | All versions before 1.0.9-1ubuntu0.1~esm1 (fixed in 1.0.9-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | php-phpseclib | All versions before 2.0.23-2ubuntu0.1~esm2 (fixed in 2.0.23-2ubuntu0.1~esm2) |
| Ubuntu:Pro:20.04:LTS | phpseclib | All versions before 1.0.18-2ubuntu0.1~esm1 (fixed in 1.0.18-2ubuntu0.1~esm1) |
| Ubuntu:22.04:LTS | phpseclib | All versions before 1.0.20-1+deb12u3build0.22.04.1 (fixed in 1.0.20-1+deb12u3build0.22.04.1) |
| Ubuntu:Pro:22.04:LTS | php-phpseclib | All versions before 2.0.36-1ubuntu0.1~esm2 (fixed in 2.0.36-1ubuntu0.1~esm2) |
| Ubuntu:Pro:22.04:LTS | php-phpseclib3 | All versions before 3.0.13-1ubuntu0.1~esm1 (fixed in 3.0.13-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | phpseclib | All versions before 1.0.20-1ubuntu0.1~esm1 (fixed in 1.0.20-1ubuntu0.1~esm1) |