Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-30246

In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.

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

Source evidence

CVE-2021-30246

core-osv · Original source

Published 7 Apr 2021, 21:15 UTC

In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.

osv:CVE-2021-30246
Complete source record
{
  "id": "e778bfb163fd7a3e52ed4531b5cb5c438cf54a6c2e7416f107fd60ce97d47d70",
  "url": "https://osv.dev/vulnerability/CVE-2021-30246",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-30246",
    "summary": "In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.",
    "evidence": "osv:CVE-2021-30246",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-30246",
      "aliases": [
        "CVE-2021-30246",
        "GHSA-27fj-mc8w-j9wg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/kjur/jsrsasign",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "482e651f2bb380dad3da4bbf0ae220fe3021d407"
                },
                {
                  "fixed": "482e651f2bb380dad3da4bbf0ae220fe3021d407"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:kjur:jsrsasign:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "10.1.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "482e651f2bb380dad3da4bbf0ae220fe3021d407"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "10.1.13"
                  }
                ]
              }
            }
          ],
          "versions": [
            "10.1.12",
            "10.1.11",
            "10.1.10",
            "10.1.9",
            "10.1.8",
            "10.1.5",
            "10.1.4",
            "10.1.3",
            "10.1.2",
            "10.1.1",
            "10.1.0",
            "10.0.5",
            "10.0.4",
            "10.0.3",
            "10.0.2",
            "10.0.1",
            "10.0.0",
            "9.1.9",
            "9.1.8",
            "9.1.7",
            "9.1.6",
            "9.1.5",
            "9.1.4",
            "9.1.2",
            "9.1.1",
            "9.1.0",
            "9.0.3",
            "9.0.2",
            "9.0.1",
            "9.0.0",
            "8.0.24",
            "8.0.23",
            "8.0.22",
            "8.0.21",
            "8.0.20",
            "8.0.19",
            "8.0.18",
            "8.0.17",
            "8.0.16",
            "8.0.15",
            "8.0.14",
            "8.0.13",
            "8.0.12",
            "8.0.11",
            "8.0.10",
            "8.0.9",
            "8.0.8",
            "8.0.7",
            "8.0.6",
            "8.0.5",
            "8.0.4",
            "8.0.3",
            "8.0.2",
            "8.0.1",
            "8.0.0",
            "7.2.2",
            "7.2.1",
            "7.2.0",
            "7.1.4",
            "7.1.3",
            "7.1.2",
            "7.1.1",
            "7.1.0",
            "7.0.0",
            "6.2.3",
            "6.2.2",
            "6.2.1",
            "6.2.0",
            "6.1.4",
            "6.1.2",
            "6.1.1",
            "6.1.0",
            "6.0.1",
            "6.0.0",
            "5.1.0",
            "5.0.15",
            "5.0.14",
            "5.0.13",
            "5.0.12",
            "5.0.11",
            "5.0.10",
            "5.0.9",
            "5.0.8",
            "5.0.7",
            "5.0.6",
            "5.0.5",
            "5.0.4",
            "5.0.2",
            "5.0.1",
            "5.0.0",
            "4.9.2",
            "4.9.1",
            "4.9.0",
            "4.8.6",
            "4.8.5",
            "4.8.3",
            "4.8.2",
            "4.8.1",
            "4.8.0",
            "4.7.2",
            "4.7.1",
            "4.7.0",
            "4.6.0",
            "4.5.0",
            "4.2.3",
            "4.2.2",
            "4.2.1",
            "4.2.0",
            "4.1.6",
            "4.1.5",
            "4.1.4",
            "4.1.3",
            "4.1.2",
            "4.1.1",
            "4.1.0",
            "4.0.5",
            "4.0.4",
            "4.0.3",
            "4.0.2",
            "4.0.1",
            "4.0.0",
            "3.1.5",
            "3.1.4",
            "3.1.3",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.5",
            "3.0.4",
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0.0",
            "2.0.0",
            "1.3.1",
            "1.3.0",
            "1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30246.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:39.421453563Z",
      "provider": "osv",
      "references": [
        "https://github.com/kjur/jsrsasign/issues/478",
        "https://github.com/kjur/jsrsasign/releases/tag/10.1.13",
        "https://kjur.github.io/jsrsasign/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-30246",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385812,
  "published_at": "2021-04-07T21:15:16.153+00:00"
}