{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31411","id":"CVE-2021-31411","title":"Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19","description":"Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server versions 2.0.9 through 2.5.2 (Vaadin 14.0.3 through Vaadin 14.5.2), 3.0 prior to 6.0 (Vaadin 15 prior to 19), and 6.0.0 through 6.0.5 (Vaadin 19.0.0 through 19.0.4) allows local users to inject malicious code into frontend resources during application rebuilds.","descriptionLong":"Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server versions 2.0.9 through 2.5.2 (Vaadin 14.0.3 through Vaadin 14.5.2), 3.0 prior to 6.0 (Vaadin 15 prior to 19), and 6.0.0 through 6.0.5 (Vaadin 19.0.0 through 19.0.4) allows local users to inject malicious code into frontend resources during application rebuilds.","published":"2021-05-05T18:15:13.220Z","updated":"2026-10-25T01:16:51.864556904Z","reserved":"2021-04-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Vaadin","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"Vaadin"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"Vaadin"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"vaadin.com"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Vaadin","Vaadin flow-server"],"affectedProducts":[{"vendor":"Vaadin","product":"Vaadin","defaultStatus":null,"versions":[{"changes":[{"at":"15.0.0","status":"affected"},{"at":"19.0.0","status":"unaffected"},{"at":"19.0.0","status":"affected"}],"lessThan":"*","status":"affected","version":"14.0.3","versionType":"custom"}],"platforms":[]},{"vendor":"Vaadin","product":"flow-server","defaultStatus":null,"versions":[{"changes":[{"at":"3.0.0","status":"affected"},{"at":"6.0.0","status":"unaffected"},{"at":"6.0.0","status":"affected"}],"lessThan":"*","status":"affected","version":"2.0.9","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.vaadin:vaadin-bom","purl":"pkg:maven/com.vaadin/vaadin-bom","ranges":[">=14.0.3 <14.5.3",">=15.0.0 <19.0.5"],"fixed":["14.5.3","19.0.5"],"advisory":"GHSA-p826-8vhq-h439"}],"cwes":["CWE-379"],"aliases":["GHSA-p826-8vhq-h439"],"references":[{"url":"https://vaadin.com/security/cve-2021-31411","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/vaadin/flow/pull/10640","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/vaadin/platform/security/advisories/GHSA-p826-8vhq-h439","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31411","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00231,"epssPercentile":0.14175,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31411","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31411","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31411","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p826-8vhq-h439","ok":true,"note":"GHSA-p826-8vhq-h439"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31411","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}