GSD-2021-31411

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
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.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2021-31411",
    "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.",
    "id": "GSD-2021-31411"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-31411"
      ],
      "details": "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.",
      "id": "GSD-2021-31411",
      "modified": "2023-12-13T01:23:13.124579Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "AKA": "",
        "ASSIGNER": "security@vaadin.com",
        "DATE_PUBLIC": "2021-05-04T08:17:00.000Z",
        "ID": "CVE-2021-31411",
        "STATE": "PUBLIC",
        "TITLE": "Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Vaadin",
                    "version": {
                      "version_data": [
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "14.0.3"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c=",
                          "version_name": "",
                          "version_value": "14.5.2"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "15.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c",
                          "version_name": "",
                          "version_value": "19.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "19.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c=",
                          "version_name": "",
                          "version_value": "19.0.4"
                        }
                      ]
                    }
                  },
                  {
                    "product_name": "flow-server",
                    "version": {
                      "version_data": [
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "2.0.9"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c=",
                          "version_name": "",
                          "version_value": "2.5.2"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "3.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c",
                          "version_name": "",
                          "version_value": "6.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003e=",
                          "version_name": "",
                          "version_value": "6.0.0"
                        },
                        {
                          "platform": "",
                          "version_affected": "\u003c=",
                          "version_name": "",
                          "version_value": "6.0.5"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Vaadin"
            }
          ]
        }
      },
      "configuration": [],
      "credit": [],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "exploit": [],
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "NONE",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-379 Creation of Temporary File in Directory with Incorrect Permissions"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://vaadin.com/security/cve-2021-31411",
            "refsource": "CONFIRM",
            "url": "https://vaadin.com/security/cve-2021-31411"
          },
          {
            "name": "https://github.com/vaadin/flow/pull/10640",
            "refsource": "CONFIRM",
            "url": "https://github.com/vaadin/flow/pull/10640"
          }
        ]
      },
      "solution": [],
      "source": {
        "advisory": "",
        "defect": [],
        "discovery": "INTERNAL"
      },
      "work_around": []
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[14.0.3,14.5.3),[15.0.0,19.0.5)",
          "affected_versions": "All versions starting from 14.0.3 before 14.5.3, all versions starting from 15.0.0 before 19.0.5",
          "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:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2021-05-18",
          "description": "Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server allows local users to inject malicious code into frontend resources during application rebuilds.",
          "fixed_versions": [],
          "identifier": "CVE-2021-31411",
          "identifiers": [
            "CVE-2021-31411"
          ],
          "not_impacted": "",
          "package_slug": "maven/com.vaadin/flow-server",
          "pubdate": "2021-05-05",
          "solution": "Unfortunately, there is no solution available yet.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31411",
            "https://vaadin.com/security/cve-2021-31411"
          ],
          "uuid": "3c90a4ea-76a6-4c04-826c-7cfa65fa0808"
        },
        {
          "affected_range": "[2.0.9,2.5.3),[3.0.0,6.0.6]",
          "affected_versions": "All versions starting from 2.0.9 before 2.5.3, all versions starting from 3.0.0 up to 6.0.6",
          "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:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2021-05-18",
          "description": "Insecure temporary directory usage in frontend build functionality of com.vaadin:flow-server allows local users to inject malicious code into frontend resources during application rebuilds.",
          "fixed_versions": [
            "2.5.3",
            "6.0.7"
          ],
          "identifier": "CVE-2021-31411",
          "identifiers": [
            "CVE-2021-31411"
          ],
          "not_impacted": "All versions before 2.0.9, all versions starting from 2.5.3 before 3.0.0, all versions after 6.0.6",
          "package_slug": "maven/com.vaadin/flow",
          "pubdate": "2021-05-05",
          "solution": "Upgrade to versions 2.5.3, 6.0.7 or above.",
          "title": "Insecure Temporary File",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31411",
            "https://vaadin.com/security/cve-2021-31411"
          ],
          "uuid": "7f6664db-10f1-42bb-a376-ca5f6176a97f"
        },
        {
          "affected_range": "[14.0.3,14.5.2],[15.0.0,19.0.2]",
          "affected_versions": "All versions starting from 14.0.3 up to 14.5.2, all versions starting from 15.0.0 up to 19.0.2",
          "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:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2021-05-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.",
          "fixed_versions": [
            "14.5.3",
            "19.0.5"
          ],
          "identifier": "CVE-2021-31411",
          "identifiers": [
            "GHSA-p826-8vhq-h439",
            "CVE-2021-31411"
          ],
          "not_impacted": "All versions before 14.0.3, all versions after 14.5.2 before 15.0.0, all versions after 19.0.2",
          "package_slug": "maven/com.vaadin/vaadin-bom",
          "pubdate": "2021-05-06",
          "solution": "Upgrade to versions 14.5.3, 19.0.5 or above.",
          "title": "Insecure temporary directory usage in frontend build functionality of Vaadin 14 and 15-19",
          "urls": [
            "https://github.com/vaadin/platform/security/advisories/GHSA-p826-8vhq-h439",
            "https://nvd.nist.gov/vuln/detail/CVE-2021-31411",
            "https://github.com/vaadin/flow/pull/10640",
            "https://vaadin.com/security/cve-2021-31411",
            "https://github.com/advisories/GHSA-p826-8vhq-h439"
          ],
          "uuid": "17f2a423-81d4-4730-a894-697eb5457390"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.5.3",
                "versionStartIncluding": "2.0.9",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "5.0.0",
                "versionStartIncluding": "3.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:flow:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "6.0.6",
                "versionStartIncluding": "6.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "14.5.3",
                "versionStartIncluding": "14.0.3",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:vaadin:vaadin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "19.0.5",
                "versionStartIncluding": "15.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@vaadin.com",
          "ID": "CVE-2021-31411"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-Other"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://vaadin.com/security/cve-2021-31411",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://vaadin.com/security/cve-2021-31411"
            },
            {
              "name": "https://github.com/vaadin/flow/pull/10640",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/vaadin/flow/pull/10640"
            }
          ]
        }
      },
      "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": "HIGH",
            "baseScore": 7.8,
            "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:H",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2021-05-18T14:01Z",
      "publishedDate": "2021-05-05T19: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…