ADVISORIES

Ubuntu Security Notice

USN-7404-1

phpseclib vulnerabilities

Details

It was discovered that phpseclib did not correctly handle RSA PKCS#1 v1.5 signature verification. An attacker could possibly use this issue to bypass authentication. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-30130)

It was discovered that phpseclib did not correctly handle certain characters in certain TLS fields, which could lead to name confusion. An attacker could possibly use this issue to bypass authentication. (CVE-2023-52892)

It was discovered that phpseclib incorrectly limited the size of prime numbers generated by isPrime. An attacker could possibly use this issue to cause a denial of service. (CVE-2024-27354)

It was discovered that phpseclib did not correctly handle processing the ASN.1 object identifier of a certificate. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-27355)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSphp-phpseclib
All versions before 2.0.1-1ubuntu0.1~esm2 (fixed in 2.0.1-1ubuntu0.1~esm2)
Ubuntu:Pro:16.04:LTSphpseclib
All versions before 1.0.1-3ubuntu0.1+esm1 (fixed in 1.0.1-3ubuntu0.1+esm1)
Ubuntu:Pro:18.04:LTSphp-phpseclib
All versions before 2.0.9-1ubuntu0.1~esm2 (fixed in 2.0.9-1ubuntu0.1~esm2)
Ubuntu:Pro:18.04:LTSphpseclib
All versions before 1.0.9-1ubuntu0.1~esm1 (fixed in 1.0.9-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSphp-phpseclib
All versions before 2.0.23-2ubuntu0.1~esm2 (fixed in 2.0.23-2ubuntu0.1~esm2)
Ubuntu:Pro:20.04:LTSphpseclib
All versions before 1.0.18-2ubuntu0.1~esm1 (fixed in 1.0.18-2ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSphp-phpseclib
All versions before 2.0.36-1ubuntu0.1~esm2 (fixed in 2.0.36-1ubuntu0.1~esm2)
Ubuntu:Pro:22.04:LTSphp-phpseclib3
All versions before 3.0.13-1ubuntu0.1~esm1 (fixed in 3.0.13-1ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSphpseclib
All versions before 1.0.20-1ubuntu0.1~esm1 (fixed in 1.0.20-1ubuntu0.1~esm1)

References