Jwcrypto: jwcrypto: denial of service via o(n^2) duplicate check on unbounded jwk key_ops array
Red Hat / Red Hat Enterprise Linux 10、Red Hat Enterprise Linux 9、Red Hat Ansible Automation Platform 2、Red Hat Enterprise Linux 7、Red Hat Enterprise Linux 8、Red Hat OpenShift AI (RHOAI) +2
CVE 记录列出的受影响产品:Red Hat · Red Hat Ansible Automation Platform 2nday 产品登记表中 Ansible 的产品类型
当前阶段
DIS
披露
CVSS
5.9 MEDIUM v3.1
# 生命周期
横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录
# 摘要
A flaw was found in jwcrypto. The JWK.import_key() function validates the key_ops JWK member for duplicate values using an algorithm with O(n^2) time complexity, and the length of key_ops is not bounded. A remote, unauthenticated attacker can supply a JWK with a large key_ops array to an application that passes attacker-controlled key material to a public key-import API (reachable via ECDH-ES key agreement, OIDC dynamic client registration, DPoP, or ACME account key registration, among others) to consume excessive CPU time, resulting in a denial of service.