Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-26289

date-and-time is an npm package for manipulating date and time. In date-and-time before version 0.14.2, there a regular expression involved in parsing which can be exploited to to cause a denial of service. This is fixed in version 0.14.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-26289
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:09 UTC · Revision 1

Source evidence

CVE-2020-26289

core-osv · Original source

Published 28 Dec 2020, 19:15 UTC

date-and-time is an npm package for manipulating date and time. In date-and-time before version 0.14.2, there a regular expression involved in parsing which can be exploited to to cause a denial of service. This is fixed in version 0.14.2.

osv:CVE-2020-26289
Complete source record
{
  "id": "1d13444a670a54aeee8d00740e12760a863bcf695b76fb430525c3f621afa09e",
  "url": "https://osv.dev/vulnerability/CVE-2020-26289",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-26289",
    "summary": "date-and-time is an npm package for manipulating date and time. In date-and-time before version 0.14.2, there a regular expression involved in parsing which can be exploited to to cause a denial of service. This is fixed in version 0.14.2.",
    "evidence": "osv:CVE-2020-26289",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-26289",
      "aliases": [
        "CVE-2020-26289",
        "GHSA-r92x-f52r-x54g"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/knowledgecode/date-and-time",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "6dab6089f4d5aea7ad1ab90ed83ba42553963d46"
                },
                {
                  "fixed": "9e4b501eacddccc8b1f559fb414f48472ee17c2a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:date-and-time_project:date-and-time:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.14.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9e4b501eacddccc8b1f559fb414f48472ee17c2a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v0.14.1",
            "v0.14.0",
            "v0.13.1",
            "v0.13.0",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.0",
            "v0.9.0",
            "v0.8.1",
            "v0.8.0",
            "v0.7.0",
            "v0.6.3",
            "v0.6.2",
            "v0.6.1",
            "v0.5.0",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.3",
            "v0.2.2",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26289.json"
          }
        }
      ],
      "modified": "2026-10-20T10:52:58.383532968Z",
      "provider": "osv",
      "references": [
        "https://github.com/knowledgecode/date-and-time/security/advisories/GHSA-r92x-f52r-x54g",
        "https://www.npmjs.com/package/date-and-time",
        "https://github.com/knowledgecode/date-and-time/commit/9e4b501eacddccc8b1f559fb414f48472ee17c2a"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-26289",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384109,
  "published_at": "2020-12-28T19:15:12.907+00:00"
}