Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for 2x by phpseclib

    CVE-2024-27354 (GCVE-0-2024-27354)

    Vulnerability from nvd – Published: 2024-03-01 00:00 – Updated: 2025-04-22 15:44
    VLAI
    Summary
    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.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-03-06 15:59 UTC
    CWE
    • n/a
    • CWE-400 - Uncontrolled Resource Consumption
    Impacted products
    Vendor Product Version
    phpseclib 1x Affected: 0 , < 1.0.23 (custom)
        cpe:2.3:a:phpseclib:1x:*:*:*:*:*:*:*:*
    Create a notification for this product.
    phpseclib 2x Affected: 0 , < 2.0.47 (custom)
        cpe:2.3:a:phpseclib:2x:*:*:*:*:*:*:*:*
    Create a notification for this product.
    phpseclib 3x Affected: 0 , < 3.0.36 (custom)
        cpe:2.3:a:phpseclib:3x:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:phpseclib:1x:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "1x",
                "vendor": "phpseclib",
                "versions": [
                  {
                    "lessThan": "1.0.23",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              },
              {
                "cpes": [
                  "cpe:2.3:a:phpseclib:2x:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "2x",
                "vendor": "phpseclib",
                "versions": [
                  {
                    "lessThan": "2.0.47",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              },
              {
                "cpes": [
                  "cpe:2.3:a:phpseclib:3x:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "3x",
                "vendor": "phpseclib",
                "versions": [
                  {
                    "lessThan": "3.0.36",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "HIGH",
                  "baseScore": 7.5,
                  "baseSeverity": "HIGH",
                  "confidentialityImpact": "NONE",
                  "integrityImpact": "NONE",
                  "privilegesRequired": "NONE",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-27354",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-06T15:59:46.617242Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-400",
                    "description": "CWE-400 Uncontrolled Resource Consumption",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-04-22T15:44:47.697Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          },
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T00:34:51.419Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b"
              },
              {
                "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3749-1] phpseclib security update",
                "tags": [
                  "mailing-list",
                  "x_transferred"
                ],
                "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html"
              },
              {
                "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3750-1] php-phpseclib security update",
                "tags": [
                  "mailing-list",
                  "x_transferred"
                ],
                "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-03-05T15:06:04.069Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49"
            },
            {
              "url": "https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b"
            },
            {
              "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3749-1] phpseclib security update",
              "tags": [
                "mailing-list"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html"
            },
            {
              "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3750-1] php-phpseclib security update",
              "tags": [
                "mailing-list"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html"
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2024-27354",
        "datePublished": "2024-03-01T00:00:00.000Z",
        "dateReserved": "2024-02-25T00:00:00.000Z",
        "dateUpdated": "2025-04-22T15:44:47.697Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2024-27354 (GCVE-0-2024-27354)

    Vulnerability from cvelistv5 – Published: 2024-03-01 00:00 – Updated: 2025-04-22 15:44
    VLAI
    Summary
    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.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-03-06 15:59 UTC
    CWE
    • n/a
    • CWE-400 - Uncontrolled Resource Consumption
    Impacted products
    Vendor Product Version
    phpseclib 1x Affected: 0 , < 1.0.23 (custom)
        cpe:2.3:a:phpseclib:1x:*:*:*:*:*:*:*:*
    Create a notification for this product.
    phpseclib 2x Affected: 0 , < 2.0.47 (custom)
        cpe:2.3:a:phpseclib:2x:*:*:*:*:*:*:*:*
    Create a notification for this product.
    phpseclib 3x Affected: 0 , < 3.0.36 (custom)
        cpe:2.3:a:phpseclib:3x:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:phpseclib:1x:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "1x",
                "vendor": "phpseclib",
                "versions": [
                  {
                    "lessThan": "1.0.23",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              },
              {
                "cpes": [
                  "cpe:2.3:a:phpseclib:2x:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "2x",
                "vendor": "phpseclib",
                "versions": [
                  {
                    "lessThan": "2.0.47",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              },
              {
                "cpes": [
                  "cpe:2.3:a:phpseclib:3x:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "3x",
                "vendor": "phpseclib",
                "versions": [
                  {
                    "lessThan": "3.0.36",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "HIGH",
                  "baseScore": 7.5,
                  "baseSeverity": "HIGH",
                  "confidentialityImpact": "NONE",
                  "integrityImpact": "NONE",
                  "privilegesRequired": "NONE",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-27354",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-03-06T15:59:46.617242Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "problemTypes": [
              {
                "descriptions": [
                  {
                    "cweId": "CWE-400",
                    "description": "CWE-400 Uncontrolled Resource Consumption",
                    "lang": "en",
                    "type": "CWE"
                  }
                ]
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-04-22T15:44:47.697Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          },
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T00:34:51.419Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b"
              },
              {
                "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3749-1] phpseclib security update",
                "tags": [
                  "mailing-list",
                  "x_transferred"
                ],
                "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html"
              },
              {
                "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3750-1] php-phpseclib security update",
                "tags": [
                  "mailing-list",
                  "x_transferred"
                ],
                "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-03-05T15:06:04.069Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "url": "https://github.com/phpseclib/phpseclib/blob/master/phpseclib/Math/PrimeField.php#L49"
            },
            {
              "url": "https://gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b"
            },
            {
              "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3749-1] phpseclib security update",
              "tags": [
                "mailing-list"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00002.html"
            },
            {
              "name": "[debian-lts-announce] 20240305 [SECURITY] [DLA 3750-1] php-phpseclib security update",
              "tags": [
                "mailing-list"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2024/03/msg00003.html"
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2024-27354",
        "datePublished": "2024-03-01T00:00:00.000Z",
        "dateReserved": "2024-02-25T00:00:00.000Z",
        "dateUpdated": "2025-04-22T15:44:47.697Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }