CVE-2024-27354

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27354
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27354.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27354
Aliases
Related
Published
2024-03-01T23:15:08Z
Modified
2024-10-12T11:20:39.588053Z
Summary
[none]
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.

References

Affected packages

Debian:11 / php-phpseclib

Package

Name
php-phpseclib
Purl
pkg:deb/debian/php-phpseclib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.30-2+deb11u2

Affected versions

2.*

2.0.30-2
2.0.30-2+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / php-phpseclib

Package

Name
php-phpseclib
Purl
pkg:deb/debian/php-phpseclib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.42-1+deb12u2

Affected versions

2.*

2.0.42-1
2.0.42-1+deb12u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / php-phpseclib

Package

Name
php-phpseclib
Purl
pkg:deb/debian/php-phpseclib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.47-1

Affected versions

2.*

2.0.42-1
2.0.44-1
2.0.45-1
2.0.46-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / php-phpseclib3

Package

Name
php-phpseclib3
Purl
pkg:deb/debian/php-phpseclib3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.19-1+deb12u3

Affected versions

3.*

3.0.19-1
3.0.19-1+deb12u1
3.0.19-1+deb12u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / php-phpseclib3

Package

Name
php-phpseclib3
Purl
pkg:deb/debian/php-phpseclib3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.36-1

Affected versions

3.*

3.0.19-1
3.0.20-1
3.0.21-1
3.0.21-2
3.0.22-1
3.0.23-1
3.0.33-1
3.0.34-1
3.0.35-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / phpseclib

Package

Name
phpseclib
Purl
pkg:deb/debian/phpseclib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.19-3+deb11u2

Affected versions

1.*

1.0.19-3
1.0.19-3+deb11u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / phpseclib

Package

Name
phpseclib
Purl
pkg:deb/debian/phpseclib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.20-1+deb12u2

Affected versions

1.*

1.0.20-1
1.0.20-1+deb12u1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / phpseclib

Package

Name
phpseclib
Purl
pkg:deb/debian/phpseclib?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.23-1

Affected versions

1.*

1.0.20-1
1.0.21-1
1.0.21-2
1.0.22-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/phpseclib/phpseclib

Affected ranges

Type
GIT
Repo
https://github.com/phpseclib/phpseclib
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.1.5
0.2.0
0.2.1
0.2.2
0.3.0
0.3.1
0.3.10
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9

1.*

1.0.1
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14
1.0.15
1.0.16
1.0.17
1.0.18
1.0.19
1.0.2
1.0.20
1.0.21
1.0.22
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9