CVE-2023-36820 json
micronaut security has invalid IdTokenClaimsValidator logic on aud
published 2023-10-05 3 y ago modified 2026-09-10 1 mo ago also GHSA-qw22-8w9r-864h , EUVD-2023-2796
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
Micronaut Security is a security solution for applications. Prior to versions 3.1.2, 3.2.4, 3.3.2, 3.4.3, 3.5.3, 3.6.6, 3.7.4, 3.8.4, 3.9.6, 3.10.2, and 3.11.1, IdTokenClaimsValidator skips `aud` claim validation if token is issued by same identity issuer/provider. Any OIDC setup using Micronaut where multiple OIDC applications exists for the same issuer but token auth are not meant to be shared. This issue has been patched in versions 3.1.2, 3.2.4, 3.3.2, 3.4.3, 3.5.3, 3.6.6, 3.7.4, 3.8.4, 3.9.6, 3.10.2, and 3.11.1.
Patch / fix
- maven io.micronaut.security:micronaut-security-oauth2 3.1.2, 3.2.4, 3.3.2, 3.4.3, 3.5.3, 3.6.6, 3.7.4, 3.8.4, 3.9.6, 3.10.2, 3.11.1
- objectcomputing micronaut_security 3.1.2, 3.2.4, 3.3.2, 3.4.3, 3.5.3, 3.6.6, 3.7.4, 3.8.4, 3.9.6, 3.10.2
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/micronaut-projects/micronaut-security/security/advisories/GHSA-qw22-8w9r-864h referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | io.micronaut.security:micronaut-security-oauth2 | >=3.11.0, <3.11.1 >=3.10.0, <3.10.2 >=3.9.0, <3.9.6 >=3.8.0, <3.8.4 >=3.7.0, <3.7.4 >=3.6.0, <3.6.6 >=3.5.0, <3.5.3 >=3.4.0, <3.4.3 >=3.3.0, <3.3.2 >=3.2.0, <3.2.4 >=3.1.0, <3.1.2 |
3.11.1 3.10.2 3.9.6 3.8.4 3.7.4 3.6.6 3.5.3 3.4.3 3.3.2 3.2.4 3.1.2 |
Affected products
- micronaut-projects micronaut-security
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/micronaut-projects/micronaut-security/commit/9728b925221a0d87798ccf250657a3c214b7e980
web, patch
-
github.com
/micronaut-projects/micronaut-security/security/advisories/GHSA-qw22-8w9r-864h
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-36820
advisory
-
github.com
/micronaut-projects/micronaut-security
package
-
github.com
/micronaut-projects/micronaut-security/blob/master/security-oauth2/src/main/java/io/micronaut/security/oauth2/
web
Sources
- CVE List CVE-2023-36820
- GitHub Advisory GHSA-qw22-8w9r-864h
- NVD CVE-2023-36820
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.