Search

Find a vulnerability

Search criteria

    6 vulnerabilities by oauth2-server_project

    CVE-2023-37260 (GCVE-0-2023-37260)

    Vulnerability from nvd – Published: 2023-07-06 15:09 – Updated: 2024-11-06 16:50
    VLAI
    Title
    league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase
    Summary
    league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had that key included in a LogicException message if they did not provide a valid pass phrase for the key where required. This issue has been patched so that the provided key is no longer exposed in the exception message in the scenario outlined above. Users should upgrade to version 8.5.3 to receive the patch. As a workaround, pass the key as a file instead of a string.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-11-06 16:48 UTC
    CWE
    • CWE-209 - Generation of Error Message Containing Sensitive Information
    Impacted products
    Vendor Product Version
    thephpleague oauth2-server Affected: >= 8.3.2, < 8.5.3
    Create a notification for this product.
    oauth2-server_project oauth2-server Affected: 8.3.2 , < 8.5.3 (custom)
        cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T17:09:33.813Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "name": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm",
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm"
              },
              {
                "name": "https://github.com/thephpleague/oauth2-server/pull/1353",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/thephpleague/oauth2-server/pull/1353"
              },
              {
                "name": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "oauth2-server",
                "vendor": "oauth2-server_project",
                "versions": [
                  {
                    "lessThan": "8.5.3",
                    "status": "affected",
                    "version": "8.3.2",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-37260",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-11-06T16:48:43.827167Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-11-06T16:50:12.981Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "oauth2-server",
              "vendor": "thephpleague",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 8.3.2, \u003c 8.5.3"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had that key included in a LogicException message if they did not provide a valid pass phrase for the key where required. This issue has been patched so that the provided key is no longer exposed in the exception message in the scenario outlined above. Users should upgrade to version 8.5.3 to receive the patch. As a workaround, pass the key as a file instead of a string."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-209",
                  "description": "CWE-209: Generation of Error Message Containing Sensitive Information",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-07-06T15:09:08.856Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm"
            },
            {
              "name": "https://github.com/thephpleague/oauth2-server/pull/1353",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/thephpleague/oauth2-server/pull/1353"
            },
            {
              "name": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3"
            }
          ],
          "source": {
            "advisory": "GHSA-wj7q-gjg8-3cpm",
            "discovery": "UNKNOWN"
          },
          "title": "league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2023-37260",
        "datePublished": "2023-07-06T15:09:08.856Z",
        "dateReserved": "2023-06-29T19:35:26.437Z",
        "dateUpdated": "2024-11-06T16:50:12.981Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2020-26938 (GCVE-0-2020-26938)

    Vulnerability from nvd – Published: 2022-08-29 20:51 – Updated: 2024-08-04 16:03
    VLAI
    Summary
    In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern ("[a-zA-Z][a-zA-Z0-9+.-]+:") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T16:03:23.138Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/rfc3986#section-3"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/rfc6749#section-3.1.2"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern (\"[a-zA-Z][a-zA-Z0-9+.-]+:\") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2022-08-29T20:51:04.000Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/rfc3986#section-3"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/rfc6749#section-3.1.2"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "ID": "CVE-2020-26938",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern (\"[a-zA-Z][a-zA-Z0-9+.-]+:\") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/issues/637",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"
                },
                {
                  "name": "https://tools.ietf.org/html/rfc3986#section-3",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/rfc3986#section-3"
                },
                {
                  "name": "https://tools.ietf.org/html/rfc6749#section-3.1.2",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/rfc6749#section-3.1.2"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2020-26938",
        "datePublished": "2022-08-29T20:51:04.000Z",
        "dateReserved": "2020-10-10T00:00:00.000Z",
        "dateUpdated": "2024-08-04T16:03:23.138Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2017-18924 (GCVE-0-2017-18924)

    Vulnerability from nvd – Published: 2020-10-04 04:38 – Updated: 2024-08-05 21:45 Disputed
    VLAI
    Summary
    oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states 'As RFC7636 is an extension, I think the claim in the Readme of "RFC 6749 compliant" is valid and not misleading and I also therefore wouldn't describe this as a "vulnerability" with the library per se.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T21:45:24.546Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/rfc7636"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/pull/452"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states \u0027As RFC7636 is an extension, I think the claim in the Readme of \"RFC 6749 compliant\" is valid and not misleading and I also therefore wouldn\u0027t describe this as a \"vulnerability\" with the library per se."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-10-04T04:38:47.000Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/rfc7636"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/pull/452"
            }
          ],
          "tags": [
            "disputed"
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "ID": "CVE-2017-18924",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "** DISPUTED ** oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states \u0027As RFC7636 is an extension, I think the claim in the Readme of \"RFC 6749 compliant\" is valid and not misleading and I also therefore wouldn\u0027t describe this as a \"vulnerability\" with the library per se.\u0027"
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://tools.ietf.org/html/rfc7636",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/rfc7636"
                },
                {
                  "name": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"
                },
                {
                  "name": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467",
                  "refsource": "MISC",
                  "url": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/issues/637",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/pull/452",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/pull/452"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2017-18924",
        "datePublished": "2020-10-04T04:38:47.000Z",
        "dateReserved": "2020-10-04T00:00:00.000Z",
        "dateUpdated": "2024-08-05T21:45:24.546Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2023-37260 (GCVE-0-2023-37260)

    Vulnerability from cvelistv5 – Published: 2023-07-06 15:09 – Updated: 2024-11-06 16:50
    VLAI
    Title
    league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase
    Summary
    league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had that key included in a LogicException message if they did not provide a valid pass phrase for the key where required. This issue has been patched so that the provided key is no longer exposed in the exception message in the scenario outlined above. Users should upgrade to version 8.5.3 to receive the patch. As a workaround, pass the key as a file instead of a string.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-11-06 16:48 UTC
    CWE
    • CWE-209 - Generation of Error Message Containing Sensitive Information
    Impacted products
    Vendor Product Version
    thephpleague oauth2-server Affected: >= 8.3.2, < 8.5.3
    Create a notification for this product.
    oauth2-server_project oauth2-server Affected: 8.3.2 , < 8.5.3 (custom)
        cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T17:09:33.813Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "name": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm",
                "tags": [
                  "x_refsource_CONFIRM",
                  "x_transferred"
                ],
                "url": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm"
              },
              {
                "name": "https://github.com/thephpleague/oauth2-server/pull/1353",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/thephpleague/oauth2-server/pull/1353"
              },
              {
                "name": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3",
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:oauth2-server_project:oauth2-server:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "oauth2-server",
                "vendor": "oauth2-server_project",
                "versions": [
                  {
                    "lessThan": "8.5.3",
                    "status": "affected",
                    "version": "8.3.2",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-37260",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-11-06T16:48:43.827167Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-11-06T16:50:12.981Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "oauth2-server",
              "vendor": "thephpleague",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 8.3.2, \u003c 8.5.3"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had that key included in a LogicException message if they did not provide a valid pass phrase for the key where required. This issue has been patched so that the provided key is no longer exposed in the exception message in the scenario outlined above. Users should upgrade to version 8.5.3 to receive the patch. As a workaround, pass the key as a file instead of a string."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-209",
                  "description": "CWE-209: Generation of Error Message Containing Sensitive Information",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-07-06T15:09:08.856Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm"
            },
            {
              "name": "https://github.com/thephpleague/oauth2-server/pull/1353",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/thephpleague/oauth2-server/pull/1353"
            },
            {
              "name": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3"
            }
          ],
          "source": {
            "advisory": "GHSA-wj7q-gjg8-3cpm",
            "discovery": "UNKNOWN"
          },
          "title": "league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2023-37260",
        "datePublished": "2023-07-06T15:09:08.856Z",
        "dateReserved": "2023-06-29T19:35:26.437Z",
        "dateUpdated": "2024-11-06T16:50:12.981Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2020-26938 (GCVE-0-2020-26938)

    Vulnerability from cvelistv5 – Published: 2022-08-29 20:51 – Updated: 2024-08-04 16:03
    VLAI
    Summary
    In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern ("[a-zA-Z][a-zA-Z0-9+.-]+:") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-04T16:03:23.138Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/rfc3986#section-3"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/rfc6749#section-3.1.2"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern (\"[a-zA-Z][a-zA-Z0-9+.-]+:\") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2022-08-29T20:51:04.000Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/rfc3986#section-3"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/rfc6749#section-3.1.2"
            }
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "ID": "CVE-2020-26938",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "In oauth2-server (aka node-oauth2-server) through 3.1.1, the value of the redirect_uri parameter received during the authorization and token request is checked against an incorrect URI pattern (\"[a-zA-Z][a-zA-Z0-9+.-]+:\") before making a redirection. This allows a malicious client to pass an XSS payload through the redirect_uri parameter while making an authorization request. NOTE: this vulnerability is similar to CVE-2020-7741."
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/issues/637",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/validator/is.js#L12"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/blob/91d2cbe70a0eddc53d72def96864e2de0fd41703/lib/grant-types/authorization-code-grant-type.js#L143"
                },
                {
                  "name": "https://tools.ietf.org/html/rfc3986#section-3",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/rfc3986#section-3"
                },
                {
                  "name": "https://tools.ietf.org/html/rfc6749#section-3.1.2",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/rfc6749#section-3.1.2"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2020-26938",
        "datePublished": "2022-08-29T20:51:04.000Z",
        "dateReserved": "2020-10-10T00:00:00.000Z",
        "dateUpdated": "2024-08-04T16:03:23.138Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2017-18924 (GCVE-0-2017-18924)

    Vulnerability from cvelistv5 – Published: 2020-10-04 04:38 – Updated: 2024-08-05 21:45 Disputed
    VLAI
    Summary
    oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states 'As RFC7636 is an extension, I think the claim in the Readme of "RFC 6749 compliant" is valid and not misleading and I also therefore wouldn't describe this as a "vulnerability" with the library per se.
    Severity
    No CVSS data available.
    CWE
    • n/a
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-05T21:45:24.546Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/rfc7636"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
              },
              {
                "tags": [
                  "x_refsource_MISC",
                  "x_transferred"
                ],
                "url": "https://github.com/oauthjs/node-oauth2-server/pull/452"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "n/a",
              "vendor": "n/a",
              "versions": [
                {
                  "status": "affected",
                  "version": "n/a"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states \u0027As RFC7636 is an extension, I think the claim in the Readme of \"RFC 6749 compliant\" is valid and not misleading and I also therefore wouldn\u0027t describe this as a \"vulnerability\" with the library per se."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "n/a",
                  "lang": "en",
                  "type": "text"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2020-10-04T04:38:47.000Z",
            "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
            "shortName": "mitre"
          },
          "references": [
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/rfc7636"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
            },
            {
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/oauthjs/node-oauth2-server/pull/452"
            }
          ],
          "tags": [
            "disputed"
          ],
          "x_legacyV4Record": {
            "CVE_data_meta": {
              "ASSIGNER": "cve@mitre.org",
              "ID": "CVE-2017-18924",
              "STATE": "PUBLIC"
            },
            "affects": {
              "vendor": {
                "vendor_data": [
                  {
                    "product": {
                      "product_data": [
                        {
                          "product_name": "n/a",
                          "version": {
                            "version_data": [
                              {
                                "version_value": "n/a"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "vendor_name": "n/a"
                  }
                ]
              }
            },
            "data_format": "MITRE",
            "data_type": "CVE",
            "data_version": "4.0",
            "description": {
              "description_data": [
                {
                  "lang": "eng",
                  "value": "** DISPUTED ** oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states \u0027As RFC7636 is an extension, I think the claim in the Readme of \"RFC 6749 compliant\" is valid and not misleading and I also therefore wouldn\u0027t describe this as a \"vulnerability\" with the library per se.\u0027"
                }
              ]
            },
            "problemtype": {
              "problemtype_data": [
                {
                  "description": [
                    {
                      "lang": "eng",
                      "value": "n/a"
                    }
                  ]
                }
              ]
            },
            "references": {
              "reference_data": [
                {
                  "name": "https://tools.ietf.org/html/rfc7636",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/rfc7636"
                },
                {
                  "name": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15",
                  "refsource": "MISC",
                  "url": "https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"
                },
                {
                  "name": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467",
                  "refsource": "MISC",
                  "url": "https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/issues/637",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/issues/637"
                },
                {
                  "name": "https://github.com/oauthjs/node-oauth2-server/pull/452",
                  "refsource": "MISC",
                  "url": "https://github.com/oauthjs/node-oauth2-server/pull/452"
                }
              ]
            }
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2017-18924",
        "datePublished": "2020-10-04T04:38:47.000Z",
        "dateReserved": "2020-10-04T00:00:00.000Z",
        "dateUpdated": "2024-08-05T21:45:24.546Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }