Skip to content
Fencer Intel
medium 4.8

CVE-2023-36820 json

micronaut security has invalid IdTokenClaimsValidator logic on aud

published 3y ago modified 2mo 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

Is CVE-2023-36820 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-15).

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

References

Sources

Fencer Intel 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.