Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2021-23358 (CVE-2021-23358)

    Vulnerability from osv_ubuntu – Published: 2021-03-29 14:15 – Updated: 2025-07-16 04:57 – Source website
    VLAI
    Details

    The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.

    Upstream
    Impacted products
    Ecosystem Package Version
    Ubuntu:Pro:14.04:LTS underscore
    pkg:deb/ubuntu/underscore@1.4.4-2ubuntu1+esm1?arch=source&distro=trusty/esm
    Affected: < 1.4.4-2ubuntu1+esm1 (ecosystem)
    1.4.4-2ubuntu1
    Ubuntu:16.04:LTS underscore
    pkg:deb/ubuntu/underscore@1.7.0~dfsg-1ubuntu1.1?arch=source&distro=xenial
    Affected: < 1.7.0~dfsg-1ubuntu1.1 (ecosystem)
    1.7.0~dfsg-1ubuntu1
    Ubuntu:18.04:LTS underscore
    pkg:deb/ubuntu/underscore@1.8.3~dfsg-1ubuntu0.1?arch=source&distro=bionic
    Affected: < 1.8.3~dfsg-1ubuntu0.1 (ecosystem)
    1.8.3~dfsg-1
    Ubuntu:20.04:LTS underscore
    pkg:deb/ubuntu/underscore@1.9.1~dfsg-1ubuntu0.20.04.1?arch=source&distro=focal
    Affected: < 1.9.1~dfsg-1ubuntu0.20.04.1 (ecosystem)
    1.9.1~dfsg-1

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "libjs-underscore",
                "binary_version": "1.4.4-2ubuntu1+esm1"
              },
              {
                "binary_name": "node-underscore",
                "binary_version": "1.4.4-2ubuntu1+esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:14.04:LTS",
            "name": "underscore",
            "purl": "pkg:deb/ubuntu/underscore@1.4.4-2ubuntu1+esm1?arch=source\u0026distro=trusty/esm"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.4.4-2ubuntu1+esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.4.4-2ubuntu1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libjs-underscore",
                "binary_version": "1.7.0~dfsg-1ubuntu1.1"
              },
              {
                "binary_name": "node-underscore",
                "binary_version": "1.7.0~dfsg-1ubuntu1.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "underscore",
            "purl": "pkg:deb/ubuntu/underscore@1.7.0~dfsg-1ubuntu1.1?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.7.0~dfsg-1ubuntu1.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.7.0~dfsg-1ubuntu1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libjs-underscore",
                "binary_version": "1.8.3~dfsg-1ubuntu0.1"
              },
              {
                "binary_name": "node-underscore",
                "binary_version": "1.8.3~dfsg-1ubuntu0.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:18.04:LTS",
            "name": "underscore",
            "purl": "pkg:deb/ubuntu/underscore@1.8.3~dfsg-1ubuntu0.1?arch=source\u0026distro=bionic"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.8.3~dfsg-1ubuntu0.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.8.3~dfsg-1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libjs-underscore",
                "binary_version": "1.9.1~dfsg-1ubuntu0.20.04.1"
              },
              {
                "binary_name": "node-underscore",
                "binary_version": "1.9.1~dfsg-1ubuntu0.20.04.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:20.04:LTS",
            "name": "underscore",
            "purl": "pkg:deb/ubuntu/underscore@1.9.1~dfsg-1ubuntu0.20.04.1?arch=source\u0026distro=focal"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.9.1~dfsg-1ubuntu0.20.04.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.9.1~dfsg-1"
          ]
        }
      ],
      "aliases": [],
      "details": "The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.",
      "id": "UBUNTU-CVE-2021-23358",
      "modified": "2025-07-16T04:57:02Z",
      "published": "2021-03-29T14:15:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2021-23358"
        },
        {
          "type": "REPORT",
          "url": "https://snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4913-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-4913-2"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-23358"
        }
      ],
      "related": [
        "USN-4913-1",
        "USN-4913-2"
      ],
      "schema_version": "1.7.0",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2021-23358"
      ]
    }