ghsa-38fc-wpqx-33j7
Vulnerability from github
Published
2021-09-02 17:15
Modified
2021-08-26 14:52
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.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.