{"api_version":"1","generated_at":"2026-07-23T12:53:07+00:00","cve":"CVE-2021-3856","urls":{"html":"https://cve.report/CVE-2021-3856","api":"https://cve.report/api/cve/CVE-2021-3856.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3856","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3856"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-08-26 16:15:00","updated_at":"2023-07-10 19:27:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/keycloak/keycloak/pull/8588","name":"https://github.com/keycloak/keycloak/pull/8588","refsource":"MISC","tags":[],"title":"[KEYCLOAK-19422] ClassLoaderTheme and ClasspathThemeResourceProviderF… by douglaspalmer · Pull Request #8588 · keycloak/keycloak · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://issues.redhat.com/browse/KEYCLOAK-19422","name":"https://issues.redhat.com/browse/KEYCLOAK-19422","refsource":"MISC","tags":[],"title":"SAML POST Binding in progress...","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743","name":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743","refsource":"MISC","tags":[],"title":"[KEYCLOAK-19422] ClassLoaderTheme and ClasspathThemeResourceProviderF… · keycloak/keycloak@73f0474 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/security/cve/CVE-2021-3856","name":"https://access.redhat.com/security/cve/CVE-2021-3856","refsource":"MISC","tags":[],"title":"Red Hat Customer Portal - Access to 24x7 support and knowledge","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2010164","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2010164","refsource":"MISC","tags":[],"title":"2010164 – (CVE-2021-3856) CVE-2021-3856 keycloak-services: ClassLoaderTheme and ClasspathThemeResourceProviderFactory allows reading any file available as a resource to the classloader","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-3856","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3856","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"3856","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"keycloak","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2021-3856","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"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":[{"lang":"eng","value":"CWE-552 - Files or Directories Accessible to External Parties","cweId":"CWE-552"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"keycloak","version":{"version_data":[{"version_affected":"=","version_value":"Fixed in 15.1.0"}]}}]}}]}},"references":{"reference_data":[{"url":"https://issues.redhat.com/browse/KEYCLOAK-19422","refsource":"MISC","name":"https://issues.redhat.com/browse/KEYCLOAK-19422"},{"url":"https://github.com/keycloak/keycloak/pull/8588","refsource":"MISC","name":"https://github.com/keycloak/keycloak/pull/8588"},{"url":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743","refsource":"MISC","name":"https://github.com/keycloak/keycloak/commit/73f0474008e1bebd0733e62a22aceda9e5de6743"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2010164","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2010164"},{"url":"https://access.redhat.com/security/cve/CVE-2021-3856","refsource":"MISC","name":"https://access.redhat.com/security/cve/CVE-2021-3856"}]}},"nvd":{"publishedDate":"2022-08-26 16:15:00","lastModifiedDate":"2023-07-10 19:27:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*","versionEndExcluding":"15.1.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"3856","Ordinal":"217801","Title":"CVE-2021-3856","CVE":"CVE-2021-3856","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"3856","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}