gsd-2021-3856
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-3856",
"description": "ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.",
"id": "GSD-2021-3856"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-3856"
],
"details": "ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.",
"id": "GSD-2021-3856",
"modified": "2023-12-13T01:23:34.103345Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2021-3856",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "keycloak",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "Fixed in 15.1.0"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"cweId": "CWE-552",
"lang": "eng",
"value": "CWE-552 - Files or Directories Accessible to External Parties"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://issues.redhat.com/browse/KEYCLOAK-19422",
"refsource": "MISC",
"url": "https://issues.redhat.com/browse/KEYCLOAK-19422"
},
{
"name": "https://github.com/keycloak/keycloak/pull/8588",
"refsource": "MISC",
"url": "https://github.com/keycloak/keycloak/pull/8588"
},
{
"name": "https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743",
"refsource": "MISC",
"url": "https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743"
},
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=2010164",
"refsource": "MISC",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2010164"
},
{
"name": "https://access.redhat.com/security/cve/CVE-2021-3856",
"refsource": "MISC",
"url": "https://access.redhat.com/security/cve/CVE-2021-3856"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "(,15.1.0)",
"affected_versions": "All versions before 15.1.0",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-552",
"CWE-937"
],
"date": "2022-09-02",
"description": "ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.",
"fixed_versions": [
"15.1.0"
],
"identifier": "CVE-2021-3856",
"identifiers": [
"GHSA-3w4v-rvc4-2xpw",
"CVE-2021-3856"
],
"not_impacted": "All versions starting from 15.1.0",
"package_slug": "maven/org.keycloak/keycloak-core",
"pubdate": "2022-08-27",
"solution": "Upgrade to version 15.1.0 or above.",
"title": "Files or Directories Accessible to External Parties",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3856",
"https://github.com/keycloak/keycloak/pull/8588",
"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743",
"https://access.redhat.com/security/cve/CVE-2021-3856",
"https://bugzilla.redhat.com/show_bug.cgi?id=2010164",
"https://issues.redhat.com/browse/KEYCLOAK-19422",
"https://github.com/advisories/GHSA-3w4v-rvc4-2xpw"
],
"uuid": "71acadb2-497e-48fd-ab70-d60285e12a8f"
},
{
"affected_range": "(,15.1.0)",
"affected_versions": "All versions before 15.1.0",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-22",
"CWE-937"
],
"date": "2023-07-10",
"description": "ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available.",
"fixed_versions": [
"15.1.0"
],
"identifier": "CVE-2021-3856",
"identifiers": [
"CVE-2021-3856"
],
"not_impacted": "All versions starting from 15.1.0",
"package_slug": "maven/org.keycloak/keycloak-services",
"pubdate": "2022-08-26",
"solution": "Upgrade to version 15.1.0 or above.",
"title": "Files or Directories Accessible to External Parties",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-3856",
"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743",
"https://bugzilla.redhat.com/show_bug.cgi?id=2010164",
"https://access.redhat.com/security/cve/CVE-2021-3856",
"https://issues.redhat.com/browse/KEYCLOAK-19422",
"https://github.com/keycloak/keycloak/pull/8588"
],
"uuid": "256492f9-30bf-42a4-859b-9793c993ea11"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "15.1.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2021-3856"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader. By sending requests for theme resources with a relative path from an external HTTP client, the client will receive the content of random files if available."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-22"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743"
},
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=2010164",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Vendor Advisory"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2010164"
},
{
"name": "https://access.redhat.com/security/cve/CVE-2021-3856",
"refsource": "MISC",
"tags": [
"Vendor Advisory"
],
"url": "https://access.redhat.com/security/cve/CVE-2021-3856"
},
{
"name": "https://issues.redhat.com/browse/KEYCLOAK-19422",
"refsource": "MISC",
"tags": [
"Permissions Required",
"Vendor Advisory"
],
"url": "https://issues.redhat.com/browse/KEYCLOAK-19422"
},
{
"name": "https://github.com/keycloak/keycloak/pull/8588",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/keycloak/keycloak/pull/8588"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 1.4
}
},
"lastModifiedDate": "2023-07-10T19:27Z",
"publishedDate": "2022-08-26T16:15Z"
}
}
}
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.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- 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…