VDB
Sign up
HIGH7.5

GHSA-vf4w-fg7r-5v94

Improper Certificate Validation in phpseclib

Quick fix

GHSA-vf4w-fg7r-5v94 — phpseclib/phpseclib: upgrade to the fixed version with the command below.

composer require phpseclib/phpseclib:^3.0.7

Details

phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/phpseclib/phpseclib
Introduced in: 3.0.0Fixed in: 3.0.7
Fixcomposer require phpseclib/phpseclib:^3.0.7
Packagist/phpseclib/phpseclib
Introduced in: 0Fixed in: 2.0.31
Fixcomposer require phpseclib/phpseclib:^2.0.31

References