Vulnerabilities in pkg:maven/com.manydesigns/portofino-dispatcher
PACKAGECVE-2021-29451 is a CRITICAL (CVSS 9.1) missing validation of jwt signature vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Portofino dispatcher libraries in the Maven ecosystem. The issue involves missing validation of jwt signature in `manydesigns/portofino`. Remediation is available by upgrading affected packages to version 5.2.1.
pkg:maven/com.manydesigns/portofino-dispatcher
Vulnerability advisories affecting package pkg:maven/com.manydesigns/portofino-dispatcher. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-6g3c-2mh5-7q6x | CVE-2021-29451 | CRITICAL | Missing validation of JWT signature in `ManyDesigns/Portofino` |
CVE-2021-29451 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2021-29451
To remediate this vulnerability, upgrade all affected Portofino dispatcher dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.manydesigns</groupId>
<artifactId>portofino-dispatcher</artifactId>
<version>5.2.1</version>
</dependency>
<dependency>
<groupId>com.manydesigns</groupId>
<artifactId>portofino-core</artifactId>
<version>5.2.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.manydesigns
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2021-29451, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.manydesigns
Analyze the terminal output to locate any version of Portofino dispatcher in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.manydesigns command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Portofino dispatcher, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-29451 Affected Portofino dispatcher Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.manydesigns:portofino-dispatcher
|
Maven |
≥ 5.0.0
< 5.2.1
|
5.2.1
|
|
com.manydesigns:portofino-core
|
Maven |
≥ 5.0.0
< 5.2.1
|
5.2.1
|
References
Frequently Asked Questions
What is CVE-2021-29451?
Which Portofino dispatcher versions are affected?
What version fixes CVE-2021-29451?
Is portofino-dispatcher affected?
Is portofino-core affected?
What is the CVSS score of CVE-2021-29451?
What CWE is associated with CVE-2021-29451?
How can I check Maven dependencies for CVE-2021-29451?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6g3c-2mh5-7q6x",
"modified" : "2023-09-25T16:03:47Z",
"published" : "2021-04-19T14:56:33Z",
"aliases" : [ "CVE-2021-29451" ],
"summary" : "Missing validation of JWT signature in `ManyDesigns/Portofino`",
"details" : "### Impact\n[Portofino](https://github.com/ManyDesigns/Portofino) is an open source web development framework. Portofino before version 5.2.1 did not properly verify the signature of JSON Web Tokens.\nThis allows forging a valid JWT.\n\n### Patches\nThe issue will be patched in the upcoming 5.2.1 release.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [https://github.com/ManyDesigns/Portofino](https://github.com/ManyDesigns/Portofino)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.manydesigns:portofino-dispatcher"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.manydesigns:portofino-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/ManyDesigns/Portofino/security/advisories/GHSA-6g3c-2mh5-7q6x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-29451"
}, {
"type" : "WEB",
"url" : "https://github.com/ManyDesigns/Portofino/commit/8c754a0ad234555e813dcbf9e57d637f9f23d8fb"
}, {
"type" : "WEB",
"url" : "https://mvnrepository.com/artifact/com.manydesigns/portofino"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2021-04-16T22:57:13Z",
"nvd_published_at" : "2021-04-16T22:15:00Z"
}
}