原始 OSV JSON{
"id": "GHSA-r65j-6h5f-4f92",
"aliases": [
"CVE-2024-31033"
],
"details": "## Withdrawn Advisory\n\nThis advisory has been withdrawn because it has been found to be disputed. Please see the issue [here](https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358) for more information.\n\n## Original Description\n\nJJWT (aka Java JWT) through 0.12.5 ignores certain characters and thus a user might falsely conclude that they have a strong key. The impacted code is the setSigningKey() method within the DefaultJwtParser class and the signWith() method within the DefaultJwtBuilder class.",
"summary": "Withdrawn: JJWT improperly generates signing keys",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.12.5"
}
]
}
],
"package": {
"name": "io.jsonwebtoken:jjwt-impl",
"ecosystem": "Maven"
}
}
],
"modified": "2024-04-03T14:52:58Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
}
],
"published": "2024-04-01T03:30:38Z",
"withdrawn": "2024-04-03T14:52:58Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31033",
"type": "ADVISORY"
},
{
"url": "https://github.com/jwtk/jjwt/issues/930#issuecomment-2032699358",
"type": "WEB"
},
{
"url": "https://github.com/2308652512/JJWT_BUG",
"type": "WEB"
},
{
"url": "https://github.com/jwtk/jjwt",
"type": "PACKAGE"
},
{
"url": "https://github.com/jwtk/jjwt/blob/26948610fbef81eba867cbaad54b516d1874c70a/impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParserBuilder.java#L242",
"type": "WEB"
},
{
"url": "https://www.viralpatel.net/java-create-validate-jwt-token",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-327"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2024-04-01T02:15:07Z",
"github_reviewed_at": "2024-04-01T16:28:49Z"
}
}