gsd-2022-39222
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-39222",
    "description": "Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.",
    "id": "GSD-2022-39222"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-39222"
      ],
      "details": "Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.",
      "id": "GSD-2022-39222",
      "modified": "2023-12-13T01:19:20.528811Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-39222",
        "STATE": "PUBLIC",
        "TITLE": "OAuth authorization code exposure in Dex"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "dex",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003c 2.35.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "dexidp"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "NONE",
          "baseScore": 9.3,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw",
            "refsource": "CONFIRM",
            "url": "https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw"
          },
          {
            "name": "https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634",
            "refsource": "MISC",
            "url": "https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-vh7g-p26c-j2cw",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003cv2.35.0",
          "affected_versions": "All versions before 2.35.0",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-862",
            "CWE-937"
          ],
          "date": "2023-07-11",
          "description": "Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue.",
          "fixed_versions": [
            "v2.35.0"
          ],
          "identifier": "CVE-2022-39222",
          "identifiers": [
            "CVE-2022-39222",
            "GHSA-vh7g-p26c-j2cw",
            "GMS-2022-4755"
          ],
          "not_impacted": "",
          "package_slug": "go/github.com/dexidp/dex",
          "pubdate": "2022-10-06",
          "solution": "Upgrade to version 2.35.0 or above.",
          "title": "Insufficiently Protected Credentials",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-39222",
            "https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw",
            "https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634",
            "https://github.com/dexidp/dex/releases/tag/v2.35.0",
            "https://github.com/advisories/GHSA-vh7g-p26c-j2cw"
          ],
          "uuid": "670f9d87-2438-4197-9016-9e82417d8a01",
          "versions": [
            {
              "commit": {
                "sha": "488db3253cbb5918fa3d134035beb422c74f1a6e",
                "tags": [
                  "v2.35.0"
                ],
                "timestamp": "20221003101923"
              },
              "number": "v2.35.0"
            }
          ]
        },
        {
          "affected_range": "\u003c0",
          "affected_versions": "All versions up to 2.34.0",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-10-03",
          "description": "Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Patches: Update to 2.35.0. Workarounds: No known workarounds (without impacting behavior) for existing versions. Disabling public clients is the only way to defend against attacks exploiting this vulnerability.",
          "fixed_versions": [
            "v2.35.0"
          ],
          "identifier": "GMS-2022-4755",
          "identifiers": [
            "GHSA-vh7g-p26c-j2cw",
            "GMS-2022-4755",
            "CVE-2022-39222"
          ],
          "not_impacted": "All versions after 2.34.0",
          "package_slug": "go/github.com/dexidp/dex",
          "pubdate": "2022-10-03",
          "solution": "Upgrade to version 2.35.0 or above.",
          "title": "Duplicate of ./go/github.com/dexidp/dex/CVE-2022-39222.yml",
          "urls": [
            "https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw",
            "https://github.com/dexidp/dex/releases/tag/v2.35.0",
            "https://github.com/advisories/GHSA-vh7g-p26c-j2cw"
          ],
          "uuid": "7f814fb6-c8cb-4ad8-a583-0b10b35750ef",
          "versions": [
            {
              "commit": {
                "sha": "7b589ba3a7b169052a48e70a123ae9c9b48398c6",
                "tags": [
                  "v2.34.0"
                ],
                "timestamp": "20220914113842"
              },
              "number": "v2.34.0"
            },
            {
              "commit": {
                "sha": "488db3253cbb5918fa3d134035beb422c74f1a6e",
                "tags": [
                  "v2.35.0"
                ],
                "timestamp": "20221003101923"
              },
              "number": "v2.35.0"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:linuxfoundation:dex:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.35.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-39222"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex instances with public clients (and by extension, clients accepting tokens issued by those Dex instances) are affected by this vulnerability if they are running a version prior to 2.35.0. An attacker can exploit this vulnerability by making a victim navigate to a malicious website and guiding them through the OIDC flow, stealing the OAuth authorization code in the process. The authorization code then can be exchanged by the attacker for a token, gaining access to applications accepting that token. Version 2.35.0 has introduced a fix for this issue. Users are advised to upgrade. There are no known workarounds for this issue."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-862"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/dexidp/dex/security/advisories/GHSA-vh7g-p26c-j2cw"
            },
            {
              "name": "https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/dexidp/dex/commit/49471b14c8080ddb034d4855841123d378b7a634"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-07-11T21:02Z",
      "publishedDate": "2022-10-06T18:16Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…