{"api_version":"1","generated_at":"2026-05-13T00:06:31+00:00","cve":"CVE-2021-31407","urls":{"html":"https://cve.report/CVE-2021-31407","api":"https://cve.report/api/cve/CVE-2021-31407.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-31407","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-31407"},"summary":{"title":"CVE-2021-31407","description":"Vulnerability in OSGi integration in com.vaadin:flow-server versions 1.2.0 through 2.4.7 (Vaadin 12.0.0 through 14.4.9), and 6.0.0 through 6.0.1 (Vaadin 19.0.0) allows attacker to access application classes and resources on the server via crafted HTTP request.","state":"PUBLIC","assigner":"security@vaadin.com","published_at":"2021-04-23 16:15:00","updated_at":"2022-08-12 18:02:00"},"problem_types":["CWE-668"],"metrics":[],"references":[{"url":"https://github.com/vaadin/osgi/issues/50","name":"N/A","refsource":"CONFIRM","tags":[],"title":"Vaadin OSGi applications should not expose relevant classpath content as static resources · Issue #50 · vaadin/osgi · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vaadin/flow/pull/10269","name":"N/A","refsource":"CONFIRM","tags":[],"title":"fix: avoid exposing ServletContext resources via StaticFileServer (#10261) by denis-anisimov · Pull Request #10269 · vaadin/flow · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://vaadin.com/security/cve-2021-31407","name":"N/A","refsource":"CONFIRM","tags":[],"title":"CVE-2021-31407: Server classes and resources exposure in OSGi applications using Vaadin 12-14 and 19","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vaadin/flow/pull/10229","name":"N/A","refsource":"CONFIRM","tags":[],"title":"refactor: use StaticFileHandler as a service by denis-anisimov · Pull Request #10229 · vaadin/flow · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-31407","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31407","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"31407","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vaadin","cpe5":"flow","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31407","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vaadin","cpe5":"vaadin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"31407","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vaadin","cpe5":"vaadin","cpe6":"19.0.0","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-31407","qid":"982669","title":"Java (maven) Security Update for com.vaadin:flow-server (GHSA-25xc-jwfq-39jw)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","generator":{"engine":"Vulnogram 0.0.9"},"CVE_data_meta":{"ID":"CVE-2021-31407","ASSIGNER":"security@vaadin.com","DATE_PUBLIC":"2021-03-29T08:17:00.000Z","TITLE":"Server classes and resources exposure in OSGi applications using Vaadin 12-14 and 19","AKA":"","STATE":"PUBLIC"},"source":{"defect":[],"advisory":"","discovery":"INTERNAL"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Vaadin","product":{"product_data":[{"product_name":"Vaadin","version":{"version_data":[{"version_name":"","version_affected":">=","version_value":"12.0.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"14.4.9","platform":""},{"version_name":"","version_affected":"=","version_value":"19.0.0","platform":""}]}},{"product_name":"flow-server","version":{"version_data":[{"version_name":"","version_affected":">=","version_value":"1.2.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"2.4.7","platform":""},{"version_name":"","version_affected":">=","version_value":"6.0.0","platform":""},{"version_name":"","version_affected":"<=","version_value":"6.0.1","platform":""}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-402 Transmission of Private Resources into a New Sphere ('Resource Leak')"}]}]},"description":{"description_data":[{"lang":"eng","value":"Vulnerability in OSGi integration in com.vaadin:flow-server versions 1.2.0 through 2.4.7 (Vaadin 12.0.0 through 14.4.9), and 6.0.0 through 6.0.1 (Vaadin 19.0.0) allows attacker to access application classes and resources on the server via crafted HTTP request."}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://vaadin.com/security/cve-2021-31407","name":"https://vaadin.com/security/cve-2021-31407"},{"refsource":"MISC","url":"https://github.com/vaadin/osgi/issues/50","name":"https://github.com/vaadin/osgi/issues/50"},{"refsource":"MISC","url":"https://github.com/vaadin/flow/pull/10229","name":"https://github.com/vaadin/flow/pull/10229"},{"refsource":"MISC","url":"https://github.com/vaadin/flow/pull/10269","name":"https://github.com/vaadin/flow/pull/10269"}]},"configuration":[],"impact":{"cvss":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","baseScore":8.6,"baseSeverity":"HIGH"}},"exploit":[],"work_around":[],"solution":[],"credit":[]},"nvd":{"publishedDate":"2021-04-23 16:15:00","lastModifiedDate":"2022-08-12 18:02:00","problem_types":["CWE-668"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.0","versionEndExcluding":"6.0.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*","versionStartIncluding":"1.2.0","versionEndExcluding":"2.4.8","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vaadin:vaadin:19.0.0:-:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*","versionStartIncluding":"12.0.0","versionEndExcluding":"14.4.10","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"31407","Ordinal":"206694","Title":"CVE-2021-31407","CVE":"CVE-2021-31407","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"31407","Ordinal":"1","NoteData":"Vulnerability in OSGi integration in com.vaadin:flow-server versions 1.2.0 through 2.4.7 (Vaadin 12.0.0 through 14.4.9), and 6.0.0 through 6.0.1 (Vaadin 19.0.0) allows attacker to access application classes and resources on the server via crafted HTTP request.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"31407","Ordinal":"2","NoteData":"2021-04-23","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"31407","Ordinal":"3","NoteData":"2021-04-23","Type":"Other","Title":"Modified"}]}}}