GHSA-C8V6-786G-VJX6
Vulnerability from github – Published: 2024-02-29 03:33 – Updated: 2024-03-06 23:50
VLAI?
Summary
json-jwt allows bypass of identity checks via a sign/encryption confusion attack
Details
The json-jwt (aka JSON::JWT) gem 1.16.x before 1.16.6, 1.15.x before 1.15.3.1 for Ruby sometimes allows bypass of identity checks via a sign/encryption confusion attack. For example, JWE can sometimes be used to bypass JSON::JWT.decode.
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "json-jwt"
},
"ranges": [
{
"events": [
{
"introduced": "1.16.0"
},
{
"fixed": "1.16.6"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "RubyGems",
"name": "json-jwt"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.15.3.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-51774"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2024-03-01T16:56:21Z",
"nvd_published_at": "2024-02-29T01:42:05Z",
"severity": "MODERATE"
},
"details": "The json-jwt (aka JSON::JWT) gem 1.16.x before 1.16.6, 1.15.x before 1.15.3.1 for Ruby sometimes allows bypass of identity checks via a sign/encryption confusion attack. For example, JWE can sometimes be used to bypass JSON::JWT.decode.",
"id": "GHSA-c8v6-786g-vjx6",
"modified": "2024-03-06T23:50:38Z",
"published": "2024-02-29T03:33:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-51774"
},
{
"type": "WEB",
"url": "https://github.com/nov/json-jwt/issues/120"
},
{
"type": "WEB",
"url": "https://github.com/nov/json-jwt/issues/121"
},
{
"type": "WEB",
"url": "https://github.com/nov/json-jwt/commit/593ea8bcaf2629048bad8c036191f2da0a2e713c"
},
{
"type": "WEB",
"url": "https://github.com/nov/json-jwt/commit/9c4d842a9465bd7960570ca326c3de79b4abc9d0"
},
{
"type": "WEB",
"url": "https://github.com/P3ngu1nW/CVE_Request/blob/main/novjson-jwt.md"
},
{
"type": "PACKAGE",
"url": "https://github.com/nov/json-jwt"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/json-jwt/CVE-2023-51774.yml"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "json-jwt allows bypass of identity checks via a sign/encryption confusion attack"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…