GHSA-cf4h-3jhx-xvhq

Suggest an improvement
Source
https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-cf4h-3jhx-xvhq/GHSA-cf4h-3jhx-xvhq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cf4h-3jhx-xvhq
Aliases
  • CVE-2021-23358
  • SNYK-JAVA-ORGWEBJARSBOWER-1081504
  • SNYK-JAVA-ORGWEBJARSBOWERGITHUBJASHKENAS-1081505
  • SNYK-JAVA-ORGWEBJARSNPM-1081503
  • SNYK-JS-UNDERSCORE-1080984
Published
2021-05-06T16:09:43Z
Modified
2024-09-18T03:13:04.847630Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Arbitrary Code Execution in underscore
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 Execution via the template function, particularly when a variable property is passed as an argument as it is not sanitized.

Database specific
{
    "nvd_published_at": "2021-03-29T14:15:00Z",
    "cwe_ids": [
        "CWE-94"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-31T21:59:00Z"
}
References

Affected packages

npm / underscore

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.3.2
Fixed
1.12.1

Ecosystem specific

{
    "affected_functions": [
        "(underscore).template"
    ]
}