Description
Nimbus JOSE+JWT before 4.36 proceeds with ECKey construction without ensuring that the public x and y coordinates are on the specified curve, which allows attackers to conduct an Invalid Curve Attack in environments where the JCE provider lacks the applicable curve validation.
Remediation
References
https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt
https://bitbucket.org/connect2id/nimbus-jose-jwt/issues/217/explicit-check-for-ec-public-key-on-curve
https://bitbucket.org/connect2id/nimbus-jose-jwt/commits/f3a7a801f0c6b078899fed9226368eb7b44e2b2f
https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E
Related Vulnerabilities
CVE-2020-7733 Vulnerability in maven package org.webjars.npm:ua-parser-js
CVE-2018-11011 Vulnerability in maven package cc.ryanc:halo
CVE-2021-41184 Vulnerability in maven package org.webjars.bower:jquery-ui
CVE-2022-24901 Vulnerability in npm package parse-server
CVE-2022-25901 Vulnerability in maven package org.webjars.npm:cookiejar