GSD-2021-20202

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2021-20202",
    "description": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.",
    "id": "GSD-2021-20202",
    "references": [
      "https://security.archlinux.org/CVE-2021-20202"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-20202"
      ],
      "details": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.",
      "id": "GSD-2021-20202",
      "modified": "2023-12-13T01:23:12.035218Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2021-20202",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "keycloak",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "keycloak 13.0.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-377"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1922128",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922128"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,13.0.0)",
          "affected_versions": "All versions before 13.0.0",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
          "cwe_ids": [
            "CWE-1035",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2021-05-17",
          "description": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.",
          "fixed_versions": [
            "13.0.0"
          ],
          "identifier": "CVE-2021-20202",
          "identifiers": [
            "CVE-2021-20202"
          ],
          "not_impacted": "All versions starting from 13.0.0",
          "package_slug": "maven/org.keycloak/keycloak-core",
          "pubdate": "2021-05-12",
          "solution": "Upgrade to version 13.0.0 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-20202",
            "https://bugzilla.redhat.com/show_bug.cgi?id=1922128"
          ],
          "uuid": "8619573a-900d-4605-8f53-ab49409377ed"
        },
        {
          "affected_range": "(,13.0.0)",
          "affected_versions": "All versions before 13.0.0",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
          "cwe_ids": [
            "CWE-1035",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2021-05-17",
          "description": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.",
          "fixed_versions": [
            "13.0.0"
          ],
          "identifier": "CVE-2021-20202",
          "identifiers": [
            "CVE-2021-20202"
          ],
          "not_impacted": "All versions starting from 13.0.0",
          "package_slug": "maven/org.keycloak/keycloak-services",
          "pubdate": "2021-05-12",
          "solution": "Upgrade to version 13.0.0 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-20202",
            "https://bugzilla.redhat.com/show_bug.cgi?id=1922128"
          ],
          "uuid": "57d3baec-3120-4a39-a1d8-7977bc37fa9b"
        },
        {
          "affected_range": "(,13.0.0)",
          "affected_versions": "All versions before 13.0.0",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
          "cwe_ids": [
            "CWE-1035",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2021-05-17",
          "description": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.",
          "fixed_versions": [
            "13.0.0"
          ],
          "identifier": "CVE-2021-20202",
          "identifiers": [
            "CVE-2021-20202"
          ],
          "not_impacted": "All versions starting from 13.0.0",
          "package_slug": "maven/org.keycloak/keycloak-wildfly-server-subsystem",
          "pubdate": "2021-05-12",
          "solution": "Upgrade to version 13.0.0 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-20202",
            "https://bugzilla.redhat.com/show_bug.cgi?id=1922128"
          ],
          "uuid": "b8e40cd5-9796-4a2e-b7d7-a87cf240f1cf"
        },
        {
          "affected_range": "\u003c13.0.0",
          "affected_versions": "All versions before 13.0.0",
          "cvss_v2": "AV:L/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
          "cwe_ids": [
            "CWE-1035",
            "CWE-377",
            "CWE-937"
          ],
          "date": "2021-05-17",
          "description": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity.",
          "fixed_versions": [
            "13.0.0"
          ],
          "identifier": "CVE-2021-20202",
          "identifiers": [
            "CVE-2021-20202"
          ],
          "not_impacted": "All versions starting from 13.0.0",
          "package_slug": "npm/keycloak-connect",
          "pubdate": "2021-05-12",
          "solution": "Upgrade to version 13.0.0 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-20202",
            "https://bugzilla.redhat.com/show_bug.cgi?id=1922128"
          ],
          "uuid": "37289097-856f-484d-8b76-7b4c42b9631c"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "13.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2021-20202"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "A flaw was found in keycloak. Directories can be created prior to the Java process creating them in the temporary directory, but with wider user permissions, allowing the attacker to have access to the contents that keycloak stores in this directory. The highest threat from this vulnerability is to data confidentiality and integrity."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-377"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1922128",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Vendor Advisory"
              ],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1922128"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 4.6,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 5.5
        }
      },
      "lastModifiedDate": "2021-05-17T16:42Z",
      "publishedDate": "2021-05-12T15:15Z"
    }
  }
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…