gsd-2021-23369
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2021-23369",
    "description": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.",
    "id": "GSD-2021-23369",
    "references": [
      "https://access.redhat.com/errata/RHSA-2021:4628",
      "https://access.redhat.com/errata/RHSA-2021:4032",
      "https://access.redhat.com/errata/RHSA-2021:3016",
      "https://access.redhat.com/errata/RHSA-2021:2500"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-23369"
      ],
      "details": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.",
      "id": "GSD-2021-23369",
      "modified": "2023-12-13T01:23:30.049605Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "report@snyk.io",
        "DATE_PUBLIC": "2021-04-12T13:09:13.776933Z",
        "ID": "CVE-2021-23369",
        "STATE": "PUBLIC",
        "TITLE": "Remote Code Execution (RCE)"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "handlebars",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_value": "4.7.7"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "Francois Lajeunesse-Robert"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "LOW",
          "baseScore": 5.6,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "Remote Code Execution (RCE)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
            "refsource": "MISC",
            "url": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"
          },
          {
            "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
            "refsource": "MISC",
            "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"
          },
          {
            "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
            "refsource": "MISC",
            "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"
          },
          {
            "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
            "refsource": "MISC",
            "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"
          },
          {
            "name": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
            "refsource": "MISC",
            "url": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"
          },
          {
            "name": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
            "refsource": "MISC",
            "url": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"
          },
          {
            "name": "https://security.netapp.com/advisory/ntap-20210604-0008/",
            "refsource": "CONFIRM",
            "url": "https://security.netapp.com/advisory/ntap-20210604-0008/"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,4.7.7)",
          "affected_versions": "All versions before 4.7.7",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "The package handlebars before 4.7.7 is vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.",
          "fixed_versions": [
            "4.7.7"
          ],
          "identifier": "CVE-2021-23369",
          "identifiers": [
            "GHSA-f2jv-r9rf-7988",
            "CVE-2021-23369"
          ],
          "not_impacted": "All versions starting from 4.7.7",
          "package_slug": "maven/org.webjars.bowergithub.wycats/handlebars.js",
          "pubdate": "2021-05-06",
          "solution": "Upgrade to version 4.7.7 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-23369",
            "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
            "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
            "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
            "https://security.netapp.com/advisory/ntap-20210604-0008/",
            "https://github.com/advisories/GHSA-f2jv-r9rf-7988"
          ],
          "uuid": "7823073f-3549-43b0-a665-e0535f19bf88"
        },
        {
          "affected_range": "(,4.7.7)",
          "affected_versions": "All versions before 4.7.7",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "The package handlebars before 4.7.7 is vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.",
          "fixed_versions": [
            "4.7.7"
          ],
          "identifier": "CVE-2021-23369",
          "identifiers": [
            "GHSA-f2jv-r9rf-7988",
            "CVE-2021-23369"
          ],
          "not_impacted": "All versions starting from 4.7.7",
          "package_slug": "maven/org.webjars.npm/handlebars",
          "pubdate": "2021-05-06",
          "solution": "Upgrade to version 4.7.7 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-23369",
            "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
            "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
            "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
            "https://security.netapp.com/advisory/ntap-20210604-0008/",
            "https://github.com/advisories/GHSA-f2jv-r9rf-7988"
          ],
          "uuid": "95461503-9f2a-4af6-872a-cee7d836f21c"
        },
        {
          "affected_range": "(,4.7.7)",
          "affected_versions": "All versions before 4.7.7",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "The package handlebars before 4.7.7 is vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.",
          "fixed_versions": [
            "4.7.7"
          ],
          "identifier": "CVE-2021-23369",
          "identifiers": [
            "GHSA-f2jv-r9rf-7988",
            "CVE-2021-23369"
          ],
          "not_impacted": "All versions starting from 4.7.7",
          "package_slug": "maven/org.webjars/handlebars",
          "pubdate": "2021-05-06",
          "solution": "Upgrade to version 4.7.7 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-23369",
            "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
            "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
            "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
            "https://security.netapp.com/advisory/ntap-20210604-0008/",
            "https://github.com/advisories/GHSA-f2jv-r9rf-7988"
          ],
          "uuid": "c7371e2a-ce81-4a15-95fa-641fe05ca720"
        },
        {
          "affected_range": "\u003c4.7.7",
          "affected_versions": "All versions before 4.7.7",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2021-06-09",
          "description": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.",
          "fixed_versions": [
            "4.7.7"
          ],
          "identifier": "CVE-2021-23369",
          "identifiers": [
            "GHSA-f2jv-r9rf-7988",
            "CVE-2021-23369"
          ],
          "not_impacted": "All versions starting from 4.7.7",
          "package_slug": "npm/handlebars",
          "pubdate": "2021-05-06",
          "solution": "Upgrade to version 4.7.7 or above.",
          "title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2021-23369",
            "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
            "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
            "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
            "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
            "https://security.netapp.com/advisory/ntap-20210604-0008/",
            "https://github.com/advisories/GHSA-f2jv-r9rf-7988"
          ],
          "uuid": "ca5e5a14-0d8c-4b9c-9ad4-77f8d034e6c8"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*",
                "cpe_name": [],
                "versionEndExcluding": "4.7.7",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "report@snyk.io",
          "ID": "CVE-2021-23369"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1074952"
            },
            {
              "name": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/handlebars-lang/handlebars.js/commit/b6d3de7123eebba603e321f04afdbae608e8fea8"
            },
            {
              "name": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/handlebars-lang/handlebars.js/commit/f0589701698268578199be25285b2ebea1c1e427"
            },
            {
              "name": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767"
            },
            {
              "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1074951"
            },
            {
              "name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1074950"
            },
            {
              "name": "https://security.netapp.com/advisory/ntap-20210604-0008/",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.netapp.com/advisory/ntap-20210604-0008/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2021-06-08T13:54Z",
      "publishedDate": "2021-04-12T14: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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • 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.