ghsa-38fc-wpqx-33j7
Vulnerability from github
Published
2021-09-02 17:15
Modified
2021-08-26 14:52
Severity
Summary
Uncontrolled Resource Consumption in trim-off-newlines
Details

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "trim-off-newlines"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-23425"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-26T14:52:19Z",
    "nvd_published_at": "2021-08-18T17:15:00Z",
    "severity": "MODERATE"
  },
  "details": "All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.",
  "id": "GHSA-38fc-wpqx-33j7",
  "modified": "2021-08-26T14:52:19Z",
  "published": "2021-09-02T17:15:42Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23425"
    },
    {
      "type": "WEB",
      "url": "https://github.com/stevemao/trim-off-newlines/pull/3"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/stevemao/trim-off-newlines"
    },
    {
      "type": "WEB",
      "url": "https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Uncontrolled Resource Consumption in trim-off-newlines"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...