Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-29451

Portofino is an open source web development framework. Portofino before version 5.2.1 did not properly verify the signature of JSON Web Tokens. This allows forging a valid JWT. The issue will be patched in the upcoming 5.2.1 release.

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

Source evidence

CVE-2021-29451

core-osv · Original source

Published 16 Apr 2021, 22:15 UTC

Portofino is an open source web development framework. Portofino before version 5.2.1 did not properly verify the signature of JSON Web Tokens. This allows forging a valid JWT. The issue will be patched in the upcoming 5.2.1 release.

osv:CVE-2021-29451
Complete source record
{
  "id": "73520d58bf687a92223e537396bb1eeccef5f22dba0ab88443ca7df0872e0808",
  "url": "https://osv.dev/vulnerability/CVE-2021-29451",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-29451",
    "summary": "Portofino is an open source web development framework. Portofino before version 5.2.1 did not properly verify the signature of JSON Web Tokens. This allows forging a valid JWT. The issue will be patched in the upcoming 5.2.1 release.",
    "evidence": "osv:CVE-2021-29451",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-29451",
      "aliases": [
        "CVE-2021-29451",
        "GHSA-6g3c-2mh5-7q6x"
      ],
      "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/manydesigns/portofino",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3becdfb103086ae47d5a5f3a25699eae86aff359"
                },
                {
                  "fixed": "b8d6a89e94d56247186951a45581b40cac20c32a"
                },
                {
                  "fixed": "8c754a0ad234555e813dcbf9e57d637f9f23d8fb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:manydesigns:portofino:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "fixed": "5.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8c754a0ad234555e813dcbf9e57d637f9f23d8fb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.2.0",
            "5.2-RC1",
            "5.1.3",
            "5.1.2",
            "5.1.1",
            "5.1.0",
            "5.0.1",
            "5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29451.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-29451-2560587e",
                "digest": {
                  "length": 715,
                  "function_hash": "141322969805560288871577444896735620335"
                },
                "source": "https://github.com/manydesigns/portofino/commit/8c754a0ad234555e813dcbf9e57d637f9f23d8fb",
                "target": {
                  "file": "portofino-core/src/main/java/com/manydesigns/portofino/shiro/AbstractPortofinoRealm.java",
                  "function": "extractPrincipalFromWebToken"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-29451-9cf3eccb",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "15900513510547366107223776206875115124",
                    "26039227727501982742739733518517470805",
                    "263965540314289591177238528356334531321",
                    "34640008619900967385022735126404535186",
                    "56201910954737050915540142485105777945",
                    "46892763502352582972166688450090913724",
                    "242727743996252305700707362619988265736",
                    "78374941452588086761477626765977442458",
                    "245523448944291164094127665778744559275",
                    "231407925247793714683297951750019516414",
                    "192259986345102780249517187823404256451",
                    "307291406416778154578703077818255715550",
                    "310316670659533062983213146885662735896",
                    "147042180282165835640744495835920526384",
                    "241549570988009870386515562068015244831",
                    "255436138018100681615315478331002201211",
                    "215504118029276891190797224639299984427",
                    "218286371992736902393304921606497053630"
                  ]
                },
                "source": "https://github.com/manydesigns/portofino/commit/8c754a0ad234555e813dcbf9e57d637f9f23d8fb",
                "target": {
                  "file": "portofino-core/src/main/java/com/manydesigns/portofino/shiro/AbstractPortofinoRealm.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-29451-aa91b60e",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "154632233226431257115924754845279259361",
                    "229101360517188178793922346604677038731",
                    "282253326813037747866732023504652009785",
                    "46892763502352582972166688450090913724",
                    "242727743996252305700707362619988265736",
                    "87547318534919822325194499934361483454",
                    "38476329351522647137813291969970393051",
                    "185997668655876916161753665061404947638",
                    "222484476783586277386583450790271186081",
                    "13437620745830202459290455651188957507",
                    "164237610865250894511345364163710649290",
                    "24583194819651907583133877699570278367",
                    "172405037911253773038717583981896429852",
                    "317343983647700348895365512060822314074",
                    "158398849797909265704875928922689690583"
                  ]
                },
                "source": "https://github.com/manydesigns/portofino/commit/8c754a0ad234555e813dcbf9e57d637f9f23d8fb",
                "target": {
                  "file": "dispatcher/src/main/java/com/manydesigns/portofino/dispatcher/security/jwt/JWTRealm.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:02:41Z"
          }
        }
      ],
      "modified": "2026-10-20T14:02:41.253790306Z",
      "provider": "osv",
      "references": [
        "https://github.com/ManyDesigns/Portofino/security/advisories/GHSA-6g3c-2mh5-7q6x",
        "https://mvnrepository.com/artifact/com.manydesigns/portofino",
        "https://github.com/ManyDesigns/Portofino/commit/8c754a0ad234555e813dcbf9e57d637f9f23d8fb"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-29451",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388521,
  "published_at": "2021-04-16T22:15:14.233+00:00"
}